summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/parseko/four.stp5
-rwxr-xr-xtestsuite/parseok/three.stp7
-rwxr-xr-xtestsuite/semok/six.stp7
3 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/parseko/four.stp b/testsuite/parseko/four.stp
new file mode 100755
index 00000000..ad77239b
--- /dev/null
+++ b/testsuite/parseko/four.stp
@@ -0,0 +1,5 @@
+#! semtest
+
+probe foo {
+ somethingawful->foo = 1;
+}
diff --git a/testsuite/parseok/three.stp b/testsuite/parseok/three.stp
new file mode 100755
index 00000000..b2628d4d
--- /dev/null
+++ b/testsuite/parseok/three.stp
@@ -0,0 +1,7 @@
+#! parsetest
+
+probe kernel:systemcall("foo")
+{
+ $a = a$a = a$a$ = 0;
+}
+
diff --git a/testsuite/semok/six.stp b/testsuite/semok/six.stp
new file mode 100755
index 00000000..53d69503
--- /dev/null
+++ b/testsuite/semok/six.stp
@@ -0,0 +1,7 @@
+#! parsetest
+
+probe foo
+{
+ thread->bar = 4;
+ process->baz = "5";
+}