summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko/cmdline13.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseko/cmdline13.stp')
-rwxr-xr-xtestsuite/parseko/cmdline13.stp9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline13.stp b/testsuite/parseko/cmdline13.stp
new file mode 100755
index 00000000..28decbc8
--- /dev/null
+++ b/testsuite/parseko/cmdline13.stp
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# options '-A' and '-c cmd' are mutually exclusive
+#
+# -A Attach to loaded systemtap module.
+# -c cmd Command 'cmd' will be run and staprun will
+# exit when it does. The '_stp_target' variable
+# will contain the pid for the command.
+staprun -A -c bash fake_module