diff options
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-x | testsuite/parseko/bad_tapset.stp | 6 | ||||
-rw-r--r-- | testsuite/parseko/bad_tapset/foo.stp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/parseko/bad_tapset.stp b/testsuite/parseko/bad_tapset.stp new file mode 100755 index 00000000..bd15577f --- /dev/null +++ b/testsuite/parseko/bad_tapset.stp @@ -0,0 +1,6 @@ +#!/bin/sh + +# PR11405: with -W, bad tapsets should still be an error + +TAPSET=`dirname $0`/bad_tapset/ +stap -p1 -e 'probe begin {}' -I $TAPSET -W diff --git a/testsuite/parseko/bad_tapset/foo.stp b/testsuite/parseko/bad_tapset/foo.stp new file mode 100644 index 00000000..c4c77257 --- /dev/null +++ b/testsuite/parseko/bad_tapset/foo.stp @@ -0,0 +1,2 @@ +# this is an intentional syntax error for testing PR11405 +probe foo = .bar {} |