[PATCH 2/3] Add more case for typemismatch

Zhou Wenjian zhouwj-fnst@cn.fujitsu.com
Thu Dec 10 10:43:00 GMT 2015


	* testsuite/semko/typemismatch5.stp: add more case
---
 testsuite/semko/typemismatch5.stp | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100755 testsuite/semko/typemismatch5.stp

diff --git a/testsuite/semko/typemismatch5.stp b/testsuite/semko/typemismatch5.stp
new file mode 100755
index 0000000..37dc5c9
--- /dev/null
+++ b/testsuite/semko/typemismatch5.stp
@@ -0,0 +1,11 @@
+#! stap -p2
+
+global array
+
+probe begin
+{
+	array[3] = 2015
+	array[5] = "2015"
+	print(array[3])
+	print(array[5])
+}
-- 
1.8.3.1





More information about the Systemtap mailing list