aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch')
-rw-r--r--recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch b/recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch
new file mode 100644
index 0000000..7832ff8
--- /dev/null
+++ b/recipes-security/libseccomp/files/regresion_fixup_seq_usage.patch
@@ -0,0 +1,25 @@
+Index: git/tests/regression
+===================================================================
+--- git.orig/tests/regression
++++ git/tests/regression
+@@ -468,13 +468,13 @@ function run_test_bpf_sim() {
+ # and arg ranges and generate/run every combination of requested
+ # tests; if no ranges were specifed, then the single test is
+ # run
+- for sys in $(seq -f "%1.0f" $low_syscall $high_syscall); do
+- for arg0 in $(seq -f "%1.0f" ${low_arg[0]} ${high_arg[0]}); do
+- for arg1 in $(seq -f "%1.0f" ${low_arg[1]} ${high_arg[1]}); do
+- for arg2 in $(seq -f "%1.0f" ${low_arg[2]} ${high_arg[2]}); do
+- for arg3 in $(seq -f "%1.0f" ${low_arg[3]} ${high_arg[3]}); do
+- for arg4 in $(seq -f "%1.0f" ${low_arg[4]} ${high_arg[4]}); do
+- for arg5 in $(seq -f "%1.0f" ${low_arg[5]} ${high_arg[5]}); do
++ for sys in $(seq $low_syscall $high_syscall); do
++ for arg0 in $(seq ${low_arg[0]} ${high_arg[0]}); do
++ for arg1 in $(seq ${low_arg[1]} ${high_arg[1]}); do
++ for arg2 in $(seq ${low_arg[2]} ${high_arg[2]}); do
++ for arg3 in $(seq ${low_arg[3]} ${high_arg[3]}); do
++ for arg4 in $(seq ${low_arg[4]} ${high_arg[4]}); do
++ for arg5 in $(seq ${low_arg[5]} ${high_arg[5]}); do
+ local -a arg=($arg0 $arg1 $arg2 $arg3 $arg4 $arg5)
+
+ # Get the generated sub-test num string