This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 1/3] Add more case for -p
- From: Zhou Wenjian <zhouwj-fnst at cn dot fujitsu dot com>
- To: <systemtap at sourceware dot org>
- Date: Thu, 10 Dec 2015 18:41:29 +0800
- Subject: [PATCH 1/3] Add more case for -p
- Authentication-results: sourceware.org; auth=none
* testsuite/parseko/cmdline01.stp: new test case
---
testsuite/parseko/cmdline01.stp | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100755 testsuite/parseko/cmdline01.stp
diff --git a/testsuite/parseko/cmdline01.stp b/testsuite/parseko/cmdline01.stp
new file mode 100755
index 0000000..3a80e8f
--- /dev/null
+++ b/testsuite/parseko/cmdline01.stp
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# -p NUM Stop after pass NUM. The passes are numbered 1-5: parse, elabo-
+# rate, translate, compile, run.
+#
+# NUM must be between 1 and 5
+
+stap $@ -p6 -e 'probe begin { exit() }'
--
1.8.3.1