From d12d6310160a3ef31c03b85ad0914f7443fb2a6d Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 18 Apr 2017 23:25:04 +0000 Subject: [PATCH] tests: change gen_tests.sh to read its input as raw input * tests/gen_tests.sh: Specify -r option to read. * tests/gen_tests.in (shmxt): Update. --- tests/gen_tests.in | 2 +- tests/gen_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gen_tests.in b/tests/gen_tests.in index dab52147..c0de949b 100644 --- a/tests/gen_tests.in +++ b/tests/gen_tests.in @@ -270,7 +270,7 @@ setreuid32 -a17 setrlimit -a27 setuid -a10 setuid32 -a12 -shmxt -a11 -e trace=/\\(osf_\\)\\?shmat,shmdt +shmxt -a11 -e trace='/(osf_)?shmat,shmdt' shutdown -a24 siginfo -e trace=none signal_receive -a16 -e trace=kill diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh index a726c07a..aa702ac6 100755 --- a/tests/gen_tests.sh +++ b/tests/gen_tests.sh @@ -54,7 +54,7 @@ fi names= -while read name args; do { +while read -r name args; do { [ -n "${name###*}" ] || continue if [ -z "$match" ]; then names="$names $name" -- 2.40.0