summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/parseko/twentyseven.stp4
-rwxr-xr-xtestsuite/semok/thirtyfive.stp8
2 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/parseko/twentyseven.stp b/testsuite/parseko/twentyseven.stp
new file mode 100755
index 00000000..39c9224a
--- /dev/null
+++ b/testsuite/parseko/twentyseven.stp
@@ -0,0 +1,4 @@
+#! stap -p1
+
+# PR 11208
+probe kernel.function ("sys_" /* this comment prevents string gluing */ "open") {}
diff --git a/testsuite/semok/thirtyfive.stp b/testsuite/semok/thirtyfive.stp
new file mode 100755
index 00000000..325c90fb
--- /dev/null
+++ b/testsuite/semok/thirtyfive.stp
@@ -0,0 +1,8 @@
+#! stap -p2
+
+// PR11208
+probe kernel.function("sys""_""open") {}
+probe kernel.function("sys" "_" "close") {}
+probe kernel.function("p"
+ "a" "n" "i"
+ "c") {}