summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-05-19 11:42:20 -0400
committerDave Brolley <brolley@redhat.com>2009-05-19 11:42:20 -0400
commit88a931144b278916dd157e0f69636e87f8fdc949 (patch)
tree4cdd8928f2a0e4e506005e6d864fde0d07ddfedb /testsuite/parseko
parente9cb523875a37b2d809afbbe0fffae980d8080a1 (diff)
parentc897e941ca645ab1e2aa325e5feaae30cc43060e (diff)
downloadsystemtap-steved-88a931144b278916dd157e0f69636e87f8fdc949.tar.gz
systemtap-steved-88a931144b278916dd157e0f69636e87f8fdc949.tar.xz
systemtap-steved-88a931144b278916dd157e0f69636e87f8fdc949.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-xtestsuite/parseko/cmdline17.stp8
-rwxr-xr-xtestsuite/parseko/cmdline18.stp10
-rwxr-xr-xtestsuite/parseko/cmdline19.stp10
-rwxr-xr-xtestsuite/parseko/cmdline20.stp9
-rwxr-xr-xtestsuite/parseko/cmdline21.stp15
5 files changed, 52 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline17.stp b/testsuite/parseko/cmdline17.stp
new file mode 100755
index 00000000..a9baf2d4
--- /dev/null
+++ b/testsuite/parseko/cmdline17.stp
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# options '-D' and '-L' are mutually exclusive
+#
+#-D Run in background. This requires '-o' option.
+#-L Load module and start probes, then detach.
+
+staprun -L -D fake_module
diff --git a/testsuite/parseko/cmdline18.stp b/testsuite/parseko/cmdline18.stp
new file mode 100755
index 00000000..bbdfbcc5
--- /dev/null
+++ b/testsuite/parseko/cmdline18.stp
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# options '-D' and '-d' are mutually exclusive
+#
+#-D Run in background. This requires '-o' option.
+#-d Delete a module. Only detached or unused modules
+# the user has permission to access will be deleted. Use "*"
+# (quoted) to delete all unused modules.
+
+staprun -d -D fake_module
diff --git a/testsuite/parseko/cmdline19.stp b/testsuite/parseko/cmdline19.stp
new file mode 100755
index 00000000..fbcef351
--- /dev/null
+++ b/testsuite/parseko/cmdline19.stp
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# options '-D' and '-c cmd' are mutually exclusive
+#
+#-D Run in background. This requires '-o' option.
+#-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 -c /bin/ls -D fake_module
diff --git a/testsuite/parseko/cmdline20.stp b/testsuite/parseko/cmdline20.stp
new file mode 100755
index 00000000..625cf20d
--- /dev/null
+++ b/testsuite/parseko/cmdline20.stp
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# You have to specify ouput FILE with '-D' option
+#
+#-D Run in background. This requires '-o' option.
+#-o FILE Send output to FILE. This supports strftime(3)
+# formats for FILE.
+
+staprun -D fake_module
diff --git a/testsuite/parseko/cmdline21.stp b/testsuite/parseko/cmdline21.stp
new file mode 100755
index 00000000..d7496c8c
--- /dev/null
+++ b/testsuite/parseko/cmdline21.stp
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# You have to specify ouput FILE with '-S' option
+#
+#-S size[,N] Switches output file to next file when the size
+# of file reaches the specified size. The value
+# should be an integer greater than 1 which is
+# assumed to be the maximum file size in MB.
+# When the number of output files reaches N, it
+# switches to the first output file. You can omit
+# the second argument.
+#-o FILE Send output to FILE. This supports strftime(3)
+# formats for FILE.
+
+staprun -S 1,1 fake_module