From: Dmitry V. Levin Date: Thu, 20 Apr 2017 18:11:35 +0000 (+0000) Subject: tests: extend gen_tests.sh further X-Git-Tag: v4.17~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55dcc7488f8ca3c6945f4cac7fbdfbdf9c29535e;p=strace tests: extend gen_tests.sh further * tests/gen_tests.sh: Extend support of arbitrary rules. --- diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh index 7f8c87a8..89108e8a 100755 --- a/tests/gen_tests.sh +++ b/tests/gen_tests.sh @@ -72,12 +72,12 @@ while read -r name args; do { EOF ;; - test_*) + ''|-*) cat <<-EOF #!/bin/sh -efu # Generated by $0 from $input; do not edit. . "\${srcdir=.}/init.sh" - $args + run_strace_match_diff $args EOF ;; @@ -86,7 +86,7 @@ while read -r name args; do { #!/bin/sh -efu # Generated by $0 from $input; do not edit. . "\${srcdir=.}/init.sh" - run_strace_match_diff $args + $args EOF ;; esac > "$output"