--- tests/01-sim-allow.py | 2 +- tests/02-sim-basic.py | 2 +- tests/03-sim-basic_chains.py | 2 +- tests/04-sim-multilevel_chains.py | 2 +- tests/05-sim-long_jumps.py | 2 +- tests/06-sim-actions.py | 2 +- tests/07-sim-db_bug_looping.py | 2 +- tests/08-sim-subtree_checks.py | 2 +- tests/09-sim-syscall_priority_pre.py | 2 +- tests/10-sim-syscall_priority_post.py | 2 +- tests/11-basic-basic_errors.py | 2 +- tests/12-sim-basic_masked_ops.py | 2 +- tests/13-basic-attrs.py | 2 +- tests/14-sim-reset.py | 2 +- tests/15-basic-resolver.py | 2 +- tests/16-sim-arch_basic.py | 2 +- tests/17-sim-arch_merge.py | 2 +- tests/18-sim-basic_allowlist.py | 2 +- tests/19-sim-missing_syscalls.py | 2 +- tests/20-live-basic_die.py | 2 +- tests/21-live-basic_allow.py | 2 +- tests/22-sim-basic_chains_array.py | 2 +- tests/23-sim-arch_all_le_basic.py | 2 +- tests/24-live-arg_allow.py | 2 +- tests/25-sim-multilevel_chains_adv.py | 2 +- tests/26-sim-arch_all_be_basic.py | 2 +- tests/27-sim-bpf_blk_state.py | 2 +- tests/28-sim-arch_x86.py | 2 +- tests/29-sim-pseudo_syscall.py | 2 +- tests/30-sim-socket_syscalls.py | 2 +- tests/31-basic-version_check.py | 2 +- tests/32-live-tsync_allow.py | 2 +- tests/33-sim-socket_syscalls_be.py | 2 +- tests/34-sim-basic_denylist.py | 2 +- tests/35-sim-negative_one.py | 2 +- tests/36-sim-ipc_syscalls.py | 2 +- tests/37-sim-ipc_syscalls_be.py | 2 +- tests/39-basic-api_level.py | 2 +- tests/40-sim-log.py | 2 +- tests/41-sim-syscall_priority_arch.py | 2 +- tests/42-sim-adv_chains.py | 2 +- tests/43-sim-a2_order.py | 2 +- tests/44-live-a2_order.py | 2 +- tests/45-sim-chain_code_coverage.py | 2 +- tests/46-sim-kill_process.py | 2 +- tests/47-live-kill_process.py | 2 +- tests/48-sim-32b_args.py | 2 +- tests/49-sim-64b_comparisons.py | 2 +- tests/50-sim-hash_collision.py | 2 +- tests/51-live-user_notification.py | 2 +- tests/52-basic-load.py | 2 +- tests/53-sim-binary_tree.py | 2 +- tests/54-live-binary_tree.py | 2 +- tests/56-basic-iterate_syscalls.py | 2 +- tests/57-basic-rawsysrc.py | 2 +- tests/58-live-tsync_notify.py | 2 +- tests/regression | 4 ++-- 57 files changed, 58 insertions(+), 58 deletions(-) Index: libseccomp-2.6.0/tests/01-sim-allow.py =================================================================== --- libseccomp-2.6.0.orig/tests/01-sim-allow.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/01-sim-allow.py 2026-03-25 17:17:45.759583302 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/02-sim-basic.py =================================================================== --- libseccomp-2.6.0.orig/tests/02-sim-basic.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/02-sim-basic.py 2026-03-25 17:17:45.759901312 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/03-sim-basic_chains.py =================================================================== --- libseccomp-2.6.0.orig/tests/03-sim-basic_chains.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/03-sim-basic_chains.py 2026-03-25 17:17:45.760155501 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/04-sim-multilevel_chains.py =================================================================== --- libseccomp-2.6.0.orig/tests/04-sim-multilevel_chains.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/04-sim-multilevel_chains.py 2026-03-25 17:17:45.760329650 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/05-sim-long_jumps.py =================================================================== --- libseccomp-2.6.0.orig/tests/05-sim-long_jumps.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/05-sim-long_jumps.py 2026-03-25 17:17:45.760555335 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/06-sim-actions.py =================================================================== --- libseccomp-2.6.0.orig/tests/06-sim-actions.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/06-sim-actions.py 2026-03-25 17:17:45.760776302 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/07-sim-db_bug_looping.py =================================================================== --- libseccomp-2.6.0.orig/tests/07-sim-db_bug_looping.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/07-sim-db_bug_looping.py 2026-03-25 17:17:45.761125451 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/08-sim-subtree_checks.py =================================================================== --- libseccomp-2.6.0.orig/tests/08-sim-subtree_checks.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/08-sim-subtree_checks.py 2026-03-25 17:17:45.761435535 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/09-sim-syscall_priority_pre.py =================================================================== --- libseccomp-2.6.0.orig/tests/09-sim-syscall_priority_pre.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/09-sim-syscall_priority_pre.py 2026-03-25 17:17:45.761710975 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/10-sim-syscall_priority_post.py =================================================================== --- libseccomp-2.6.0.orig/tests/10-sim-syscall_priority_post.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/10-sim-syscall_priority_post.py 2026-03-25 17:17:45.761938083 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/11-basic-basic_errors.py =================================================================== --- libseccomp-2.6.0.orig/tests/11-basic-basic_errors.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/11-basic-basic_errors.py 2026-03-25 17:17:45.762177645 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/12-sim-basic_masked_ops.py =================================================================== --- libseccomp-2.6.0.orig/tests/12-sim-basic_masked_ops.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/12-sim-basic_masked_ops.py 2026-03-25 17:17:45.762408420 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/13-basic-attrs.py =================================================================== --- libseccomp-2.6.0.orig/tests/13-basic-attrs.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/13-basic-attrs.py 2026-03-25 17:17:45.762604390 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/14-sim-reset.py =================================================================== --- libseccomp-2.6.0.orig/tests/14-sim-reset.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/14-sim-reset.py 2026-03-25 17:17:45.762786784 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/15-basic-resolver.py =================================================================== --- libseccomp-2.6.0.orig/tests/15-basic-resolver.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/15-basic-resolver.py 2026-03-25 17:17:45.763016587 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/16-sim-arch_basic.py =================================================================== --- libseccomp-2.6.0.orig/tests/16-sim-arch_basic.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/16-sim-arch_basic.py 2026-03-25 17:17:45.763234649 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/17-sim-arch_merge.py =================================================================== --- libseccomp-2.6.0.orig/tests/17-sim-arch_merge.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/17-sim-arch_merge.py 2026-03-25 17:17:45.763418305 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/18-sim-basic_allowlist.py =================================================================== --- libseccomp-2.6.0.orig/tests/18-sim-basic_allowlist.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/18-sim-basic_allowlist.py 2026-03-25 17:17:45.763629263 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/19-sim-missing_syscalls.py =================================================================== --- libseccomp-2.6.0.orig/tests/19-sim-missing_syscalls.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/19-sim-missing_syscalls.py 2026-03-25 17:17:45.763846372 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/20-live-basic_die.py =================================================================== --- libseccomp-2.6.0.orig/tests/20-live-basic_die.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/20-live-basic_die.py 2026-03-25 17:17:45.764034337 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/21-live-basic_allow.py =================================================================== --- libseccomp-2.6.0.orig/tests/21-live-basic_allow.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/21-live-basic_allow.py 2026-03-25 17:17:45.764210659 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/22-sim-basic_chains_array.py =================================================================== --- libseccomp-2.6.0.orig/tests/22-sim-basic_chains_array.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/22-sim-basic_chains_array.py 2026-03-25 17:17:45.764388525 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/23-sim-arch_all_le_basic.py =================================================================== --- libseccomp-2.6.0.orig/tests/23-sim-arch_all_le_basic.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/23-sim-arch_all_le_basic.py 2026-03-25 17:17:45.764602188 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/24-live-arg_allow.py =================================================================== --- libseccomp-2.6.0.orig/tests/24-live-arg_allow.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/24-live-arg_allow.py 2026-03-25 17:17:45.764785273 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/25-sim-multilevel_chains_adv.py =================================================================== --- libseccomp-2.6.0.orig/tests/25-sim-multilevel_chains_adv.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/25-sim-multilevel_chains_adv.py 2026-03-25 17:17:45.764966846 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/26-sim-arch_all_be_basic.py =================================================================== --- libseccomp-2.6.0.orig/tests/26-sim-arch_all_be_basic.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/26-sim-arch_all_be_basic.py 2026-03-25 17:17:45.765142096 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/27-sim-bpf_blk_state.py =================================================================== --- libseccomp-2.6.0.orig/tests/27-sim-bpf_blk_state.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/27-sim-bpf_blk_state.py 2026-03-25 17:17:45.765358965 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/28-sim-arch_x86.py =================================================================== --- libseccomp-2.6.0.orig/tests/28-sim-arch_x86.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/28-sim-arch_x86.py 2026-03-25 17:17:45.765534155 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/29-sim-pseudo_syscall.py =================================================================== --- libseccomp-2.6.0.orig/tests/29-sim-pseudo_syscall.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/29-sim-pseudo_syscall.py 2026-03-25 17:17:45.765711239 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/30-sim-socket_syscalls.py =================================================================== --- libseccomp-2.6.0.orig/tests/30-sim-socket_syscalls.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/30-sim-socket_syscalls.py 2026-03-25 17:17:45.765946513 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/31-basic-version_check.py =================================================================== --- libseccomp-2.6.0.orig/tests/31-basic-version_check.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/31-basic-version_check.py 2026-03-25 17:17:45.766122736 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/32-live-tsync_allow.py =================================================================== --- libseccomp-2.6.0.orig/tests/32-live-tsync_allow.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/32-live-tsync_allow.py 2026-03-25 17:17:45.766296002 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/33-sim-socket_syscalls_be.py =================================================================== --- libseccomp-2.6.0.orig/tests/33-sim-socket_syscalls_be.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/33-sim-socket_syscalls_be.py 2026-03-25 17:17:45.766465642 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/34-sim-basic_denylist.py =================================================================== --- libseccomp-2.6.0.orig/tests/34-sim-basic_denylist.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/34-sim-basic_denylist.py 2026-03-25 17:17:45.766628329 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/35-sim-negative_one.py =================================================================== --- libseccomp-2.6.0.orig/tests/35-sim-negative_one.py 2026-03-25 17:17:45.546394906 +0100 +++ libseccomp-2.6.0/tests/35-sim-negative_one.py 2026-03-25 17:17:45.766797368 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/36-sim-ipc_syscalls.py =================================================================== --- libseccomp-2.6.0.orig/tests/36-sim-ipc_syscalls.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/36-sim-ipc_syscalls.py 2026-03-25 17:17:45.767005651 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/37-sim-ipc_syscalls_be.py =================================================================== --- libseccomp-2.6.0.orig/tests/37-sim-ipc_syscalls_be.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/37-sim-ipc_syscalls_be.py 2026-03-25 17:17:45.767177304 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/39-basic-api_level.py =================================================================== --- libseccomp-2.6.0.orig/tests/39-basic-api_level.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/39-basic-api_level.py 2026-03-25 17:17:45.767362704 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/40-sim-log.py =================================================================== --- libseccomp-2.6.0.orig/tests/40-sim-log.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/40-sim-log.py 2026-03-25 17:17:45.767537263 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/41-sim-syscall_priority_arch.py =================================================================== --- libseccomp-2.6.0.orig/tests/41-sim-syscall_priority_arch.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/41-sim-syscall_priority_arch.py 2026-03-25 17:17:45.767834895 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/42-sim-adv_chains.py =================================================================== --- libseccomp-2.6.0.orig/tests/42-sim-adv_chains.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/42-sim-adv_chains.py 2026-03-25 17:17:45.768036825 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/43-sim-a2_order.py =================================================================== --- libseccomp-2.6.0.orig/tests/43-sim-a2_order.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/43-sim-a2_order.py 2026-03-25 17:17:45.768202929 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/44-live-a2_order.py =================================================================== --- libseccomp-2.6.0.orig/tests/44-live-a2_order.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/44-live-a2_order.py 2026-03-25 17:17:45.768373841 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/45-sim-chain_code_coverage.py =================================================================== --- libseccomp-2.6.0.orig/tests/45-sim-chain_code_coverage.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/45-sim-chain_code_coverage.py 2026-03-25 17:17:45.768541597 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/46-sim-kill_process.py =================================================================== --- libseccomp-2.6.0.orig/tests/46-sim-kill_process.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/46-sim-kill_process.py 2026-03-25 17:17:45.768713542 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/47-live-kill_process.py =================================================================== --- libseccomp-2.6.0.orig/tests/47-live-kill_process.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/47-live-kill_process.py 2026-03-25 17:17:45.768891558 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/48-sim-32b_args.py =================================================================== --- libseccomp-2.6.0.orig/tests/48-sim-32b_args.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/48-sim-32b_args.py 2026-03-25 17:17:45.769054465 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/49-sim-64b_comparisons.py =================================================================== --- libseccomp-2.6.0.orig/tests/49-sim-64b_comparisons.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/49-sim-64b_comparisons.py 2026-03-25 17:17:45.769219195 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/50-sim-hash_collision.py =================================================================== --- libseccomp-2.6.0.orig/tests/50-sim-hash_collision.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/50-sim-hash_collision.py 2026-03-25 17:17:45.769386741 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/51-live-user_notification.py =================================================================== --- libseccomp-2.6.0.orig/tests/51-live-user_notification.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/51-live-user_notification.py 2026-03-25 17:17:45.769556221 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/52-basic-load.py =================================================================== --- libseccomp-2.6.0.orig/tests/52-basic-load.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/52-basic-load.py 2026-03-25 17:17:45.769724358 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/53-sim-binary_tree.py =================================================================== --- libseccomp-2.6.0.orig/tests/53-sim-binary_tree.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/53-sim-binary_tree.py 2026-03-25 17:17:45.769909107 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/54-live-binary_tree.py =================================================================== --- libseccomp-2.6.0.orig/tests/54-live-binary_tree.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/54-live-binary_tree.py 2026-03-25 17:17:45.770076673 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/56-basic-iterate_syscalls.py =================================================================== --- libseccomp-2.6.0.orig/tests/56-basic-iterate_syscalls.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/56-basic-iterate_syscalls.py 2026-03-25 17:17:45.770239670 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/57-basic-rawsysrc.py =================================================================== --- libseccomp-2.6.0.orig/tests/57-basic-rawsysrc.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/57-basic-rawsysrc.py 2026-03-25 17:17:45.770409560 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/58-live-tsync_notify.py =================================================================== --- libseccomp-2.6.0.orig/tests/58-live-tsync_notify.py 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/58-live-tsync_notify.py 2026-03-25 17:17:45.770579200 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # # Seccomp Library test program Index: libseccomp-2.6.0/tests/regression =================================================================== --- libseccomp-2.6.0.orig/tests/regression 2026-03-25 17:17:45.547394907 +0100 +++ libseccomp-2.6.0/tests/regression 2026-03-25 17:19:09.886493831 +0100 @@ -258,13 +258,16 @@ local cmd if [[ $mode == "python" ]]; then - cmd="PYTHONPATH=$PYTHONPATH" - cmd="$cmd:$(cd $(pwd)/../src/python/build/lib.*; pwd)" + local python_bin python_ver python_libdir + python_bin=${PYTHON:-python3} + python_ver=$($python_bin -c 'import sys; print(f"{sys.version_info[0]}.{sys.version_info[1]}")') + python_libdir=$(cd "$(pwd)/../src/python/build/lib."*"${python_ver}"* && pwd) + cmd="PYTHONPATH=$PYTHONPATH:$python_libdir" # check and adjust if we are doing a VPATH build if [[ -e "./$2.py" ]]; then - cmd="$cmd /usr/bin/env python $2.py $3" + cmd="$cmd $python_bin $2.py $3" else - cmd="$cmd /usr/bin/env python ${srcdir}/$2.py $3" + cmd="$cmd $python_bin ${srcdir}/$2.py $3" fi else cmd="$2 $3"