From cf51e75dd3b371ea5ee6d6577f1e80088c8b1613 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 1 Apr 2010 16:30:16 -0700 Subject: PR9958: Test that the guru notation is working * testsuite/semko/gurufunc.stp: Test rejection without -g. * testsuite/semok/gurufunc.stp: Test acceptance with -g. --- testsuite/semko/gurufunc.stp | 4 ++++ testsuite/semok/gurufunc.stp | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 testsuite/semko/gurufunc.stp create mode 100755 testsuite/semok/gurufunc.stp 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) } -- cgit