diff options
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-x | testsuite/parseko/cmdline07.stp | 6 | ||||
-rwxr-xr-x | testsuite/parseko/cmdline08.stp | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline07.stp b/testsuite/parseko/cmdline07.stp new file mode 100755 index 00000000..aee03a91 --- /dev/null +++ b/testsuite/parseko/cmdline07.stp @@ -0,0 +1,6 @@ +#!/bin/sh + +# A module name must be specified when using '-m' - the module name +# can't be empty + +stap -p1 -m "" -e 'probe begin { exit() }' diff --git a/testsuite/parseko/cmdline08.stp b/testsuite/parseko/cmdline08.stp new file mode 100755 index 00000000..19730b80 --- /dev/null +++ b/testsuite/parseko/cmdline08.stp @@ -0,0 +1,4 @@ +#!/bin/sh + +# A module name can only be composed of chars [_a-zA-Z0-9] +stap -p1 -m x^y -e 'probe begin { exit() }' |