This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 3/4] add cases for var definition


	* testsuite/parseko/var_definition1.stp: New test case
	* testsuite/parseko/var_definition2.stp: New test case
---
 testsuite/parseko/var_definition1.stp | 7 +++++++
 testsuite/parseko/var_definition2.stp | 7 +++++++
 2 files changed, 14 insertions(+)
 create mode 100755 testsuite/parseko/var_definition1.stp
 create mode 100755 testsuite/parseko/var_definition2.stp

diff --git a/testsuite/parseko/var_definition1.stp b/testsuite/parseko/var_definition1.stp
new file mode 100755
index 0000000..d92bf03
--- /dev/null
+++ b/testsuite/parseko/var_definition1.stp
@@ -0,0 +1,7 @@
+#! stap -p1
+
+probe begin
+{
+	0var=2015
+	exit()
+}
diff --git a/testsuite/parseko/var_definition2.stp b/testsuite/parseko/var_definition2.stp
new file mode 100755
index 0000000..f48cb6f
--- /dev/null
+++ b/testsuite/parseko/var_definition2.stp
@@ -0,0 +1,7 @@
+#! stap -p1
+
+probe begin
+{
+	var=2015a
+	exit()
+}
-- 
1.8.3.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]