summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
authordsmith <dsmith>2007-03-29 16:19:13 +0000
committerdsmith <dsmith>2007-03-29 16:19:13 +0000
commitf97d5ff6c208d69d27791d7a8f6d6dac4853ff15 (patch)
tree6f5849d0a9c180e76b6864a1d7d610dcecf4a58e /testsuite/parseko
parent3b942fed99d5b54244e1874d18c30457280382ae (diff)
downloadsystemtap-steved-f97d5ff6c208d69d27791d7a8f6d6dac4853ff15.tar.gz
systemtap-steved-f97d5ff6c208d69d27791d7a8f6d6dac4853ff15.tar.xz
systemtap-steved-f97d5ff6c208d69d27791d7a8f6d6dac4853ff15.zip
2007-03-29 David Smith <dsmith@redhat.com>
PR 4281 * parseko/cmdline07.stp: New test. * parseko/cmdline08.stp: New test.
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-xtestsuite/parseko/cmdline07.stp6
-rwxr-xr-xtestsuite/parseko/cmdline08.stp4
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() }'