public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] rewrite the case typemismatch
@ 2015-12-01  1:59 Zhou Wenjian
  2015-12-01  1:59 ` [PATCH 2/2] add new case for typemismatch Zhou Wenjian
  2015-12-01  3:16 ` [PATCH 1/2] rewrite the case typemismatch "Zhou, Wenjian/周文剑"
  0 siblings, 2 replies; 6+ messages in thread
From: Zhou Wenjian @ 2015-12-01  1:59 UTC (permalink / raw)
  To: systemtap

	* testsuite/semko/typemismatch.stp: use the following cases to replace it

	* testsuite/semko/typemismatch1.stp
	* testsuite/semko/typemismatch2.stp
	* testsuite/semko/typemismatch3.stp
---
 testsuite/semko/typemismatch.stp  | 8 --------
 testsuite/semko/typemismatch1.stp | 8 ++++++++
 testsuite/semko/typemismatch2.stp | 4 ++++
 testsuite/semko/typemismatch3.stp | 3 +++
 4 files changed, 15 insertions(+), 8 deletions(-)
 delete mode 100755 testsuite/semko/typemismatch.stp
 create mode 100755 testsuite/semko/typemismatch1.stp
 create mode 100755 testsuite/semko/typemismatch2.stp
 create mode 100755 testsuite/semko/typemismatch3.stp

diff --git a/testsuite/semko/typemismatch.stp b/testsuite/semko/typemismatch.stp
deleted file mode 100755
index 94a49d5..0000000
--- a/testsuite/semko/typemismatch.stp
+++ /dev/null
@@ -1,8 +0,0 @@
-#! stap -p2
-
-
-global noo 
-
-probe begin { foo = 1 ; foo = "bar" ; noo = 4 } 
-
-probe end { foo = "zoo" ; foo <<< 2 ; noo = "zoo" }
\ No newline at end of file
diff --git a/testsuite/semko/typemismatch1.stp b/testsuite/semko/typemismatch1.stp
new file mode 100755
index 0000000..e60b376
--- /dev/null
+++ b/testsuite/semko/typemismatch1.stp
@@ -0,0 +1,8 @@
+#! stap -p2
+
+
+global noo 
+
+probe begin { noo = 4 } 
+
+probe end { noo = "zoo" }
diff --git a/testsuite/semko/typemismatch2.stp b/testsuite/semko/typemismatch2.stp
new file mode 100755
index 0000000..940582e
--- /dev/null
+++ b/testsuite/semko/typemismatch2.stp
@@ -0,0 +1,4 @@
+#! stap -p2
+
+
+probe begin { foo = 1 ; foo = "bar" ;  print(foo) } 
diff --git a/testsuite/semko/typemismatch3.stp b/testsuite/semko/typemismatch3.stp
new file mode 100755
index 0000000..74e367d
--- /dev/null
+++ b/testsuite/semko/typemismatch3.stp
@@ -0,0 +1,3 @@
+#! stap -p2
+
+probe begin { foo = "zoo" ; foo <<< 2 ; print(foo) }
-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-12-08 19:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01  1:59 [PATCH 1/2] rewrite the case typemismatch Zhou Wenjian
2015-12-01  1:59 ` [PATCH 2/2] add new case for typemismatch Zhou Wenjian
2015-12-01  3:16 ` [PATCH 1/2] rewrite the case typemismatch "Zhou, Wenjian/周文剑"
2015-12-01 16:33   ` David Smith
2015-12-02  1:21     ` "Zhou, Wenjian/周文剑"
2015-12-08 19:20       ` David Smith

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).