diff options
Diffstat (limited to 'testsuite/parseok')
-rwxr-xr-x | testsuite/parseok/all_tapsets.stp | 5 | ||||
-rwxr-xr-x | testsuite/parseok/bad_tapset.stp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/parseok/all_tapsets.stp b/testsuite/parseok/all_tapsets.stp new file mode 100755 index 00000000..1777cc10 --- /dev/null +++ b/testsuite/parseok/all_tapsets.stp @@ -0,0 +1,5 @@ +#!/bin/sh + +# PR11405: all the default tapsets should succeed even with -W + +stap -p1 -e 'probe begin {}' -W diff --git a/testsuite/parseok/bad_tapset.stp b/testsuite/parseok/bad_tapset.stp new file mode 100755 index 00000000..a97c037f --- /dev/null +++ b/testsuite/parseok/bad_tapset.stp @@ -0,0 +1,6 @@ +#!/bin/sh + +# PR11405: without -W, bad tapsets will be warned but shouldn't be an error + +TAPSET=`dirname $0`/../parseko/bad_tapset/ +stap -p1 -e 'probe begin {}' -I $TAPSET |