summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog6
-rwxr-xr-xtestsuite/parseko/cmdline07.stp6
-rwxr-xr-xtestsuite/parseko/cmdline08.stp4
3 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 6db55406..9c437252 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-29 David Smith <dsmith@redhat.com>
+
+ PR 4281
+ * parseko/cmdline07.stp: New test.
+ * parseko/cmdline08.stp: New test.
+
2007-03-22 Frank Ch. Eigler <fche@elastic.org>
PR 4224.
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() }'