summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/bad_tapset.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/bad_tapset.stp')
-rwxr-xr-xtestsuite/parseko/bad_tapset.stp6
1 files changed, 6 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