summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/semko/gurufunc.stp4
-rwxr-xr-xtestsuite/semok/gurufunc.stp4
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/semko/gurufunc.stp b/testsuite/semko/gurufunc.stp
new file mode 100755
index 00000000..ff13e2e3
--- /dev/null
+++ b/testsuite/semko/gurufunc.stp
@@ -0,0 +1,4 @@
+#! stap -up2
+
+# set_kernel_long should only be allowed with -g
+probe begin { set_kernel_long(0, 0) }
diff --git a/testsuite/semok/gurufunc.stp b/testsuite/semok/gurufunc.stp
new file mode 100755
index 00000000..0801ba0e
--- /dev/null
+++ b/testsuite/semok/gurufunc.stp
@@ -0,0 +1,4 @@
+#! stap -gup2
+
+# set_kernel_long should only be allowed with -g
+probe begin { set_kernel_long(0, 0) }