diff options
Diffstat (limited to 'testsuite/transok')
-rwxr-xr-x | testsuite/transok/buildko.stp | 8 | ||||
-rwxr-xr-x | testsuite/transok/nine.stp | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/testsuite/transok/buildko.stp b/testsuite/transok/buildko.stp index 67f11eba..4387b0f1 100755 --- a/testsuite/transok/buildko.stp +++ b/testsuite/transok/buildko.stp @@ -1,10 +1,14 @@ #! /bin/sh # make sure that we can *translate* all buildko test files, to ensure -# that it is build-time checks that fail, not earlier ones errors +# that it is build-time checks that fail, not earlier ones set -e for file in ${SRCDIR}/testsuite/buildko/*.stp do - ./stap -p3 $file + if grep -q /bin/sh $file; then + true # can't override stap options + else + ./stap -p3 $file + fi done diff --git a/testsuite/transok/nine.stp b/testsuite/transok/nine.stp index a75fad5e..82ebc4a9 100755 --- a/testsuite/transok/nine.stp +++ b/testsuite/transok/nine.stp @@ -1,4 +1,6 @@ -#! stap -p3 +#! /bin/sh + +./stap -p3 -g $@ - <<'END' %{ void just_some_declaration () {} @@ -10,3 +12,5 @@ probe begin { bar (5) + 0 } + +END |