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