summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/simple.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/simple.exp')
-rw-r--r--testsuite/systemtap.base/simple.exp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/simple.exp b/testsuite/systemtap.base/simple.exp
new file mode 100644
index 00000000..b22114f9
--- /dev/null
+++ b/testsuite/systemtap.base/simple.exp
@@ -0,0 +1,11 @@
+# Very simple function to test that systemtap can generate a kernel module,
+# install it, and get some output.
+
+load_lib "stap_run.exp"
+
+set test "simple"
+
+#check to see whether get the marker indicating the probe is loaded and running
+#should check to see whether exited for some reason
+#should be error is something else is printed.
+stap_run $srcdir/$subdir/$test.stp