From: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
To: <systemtap@sourceware.org>
Subject: [PATCH 3/3] add new case for white space
Date: Mon, 07 Dec 2015 09:07:00 -0000 [thread overview]
Message-ID: <1449479119-10817-3-git-send-email-zhouwj-fnst@cn.fujitsu.com> (raw)
In-Reply-To: <1449479119-10817-1-git-send-email-zhouwj-fnst@cn.fujitsu.com>
* testsuite/systemtap.base/whitespace.exp: new test case
* testsuite/systemtap.base/whitespace.stp: new test file
---
testsuite/systemtap.base/whitespace.exp | 13 +++++++++++++
testsuite/systemtap.base/whitespace.stp | 14 ++++++++++++++
2 files changed, 27 insertions(+)
create mode 100644 testsuite/systemtap.base/whitespace.exp
create mode 100644 testsuite/systemtap.base/whitespace.stp
diff --git a/testsuite/systemtap.base/whitespace.exp b/testsuite/systemtap.base/whitespace.exp
new file mode 100644
index 0000000..ee12594
--- /dev/null
+++ b/testsuite/systemtap.base/whitespace.exp
@@ -0,0 +1,13 @@
+# Check white space
+
+set test "whitespace"
+if {![installtest_p]} { untested "$test"; return }
+
+foreach runtime [get_runtime_list] {
+ if {$runtime != ""} {
+ stap_run $srcdir/$subdir/$test.stp no_load ($all_pass_string){2} \
+ --runtime=$runtime
+ } else {
+ stap_run $srcdir/$subdir/$test.stp no_load ($all_pass_string){2}
+ }
+}
diff --git a/testsuite/systemtap.base/whitespace.stp b/testsuite/systemtap.base/whitespace.stp
new file mode 100644
index 0000000..9f06ce7
--- /dev/null
+++ b/testsuite/systemtap.base/whitespace.stp
@@ -0,0 +1,14 @@
+/*
+ * whitespace.stp
+ *
+ * Check white space
+ */
+
+
+probe begin
+{
+println("systemtap starting probe"); println("systemtap ending probe"); println("systemtap test success")
+;
+println("systemtap test success")
+ exit()
+}
--
1.8.3.1
next prev parent reply other threads:[~2015-12-07 9:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 9:07 [PATCH 1/3] add test cases for arith Zhou Wenjian
2015-12-07 9:07 ` [PATCH 2/3] add more case for delete Zhou Wenjian
2015-12-07 9:07 ` Zhou Wenjian [this message]
2015-12-08 15:09 ` [PATCH 1/3] add test cases for arith Frank Ch. Eigler
2015-12-09 9:43 ` "Zhou, Wenjian/周文剑"
2015-12-09 21:40 ` David Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449479119-10817-3-git-send-email-zhouwj-fnst@cn.fujitsu.com \
--to=zhouwj-fnst@cn.fujitsu.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).