summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok')
-rwxr-xr-xtestsuite/parseok/cmdline03.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/parseok/cmdline03.stp b/testsuite/parseok/cmdline03.stp
new file mode 100755
index 00000000..d0ba5bbf
--- /dev/null
+++ b/testsuite/parseok/cmdline03.stp
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# Make sure unprivileged ('--unprivileged') option is accepted when a
+# module name starting with 'stap_' is used.
+
+stap --unprivileged -m 'stap_foo' -p1 -e 'probe begin { exit() }'