summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r--testsuite/systemtap.samples/sysopen.exp12
-rw-r--r--testsuite/systemtap.samples/sysopen.stp9
2 files changed, 0 insertions, 21 deletions
diff --git a/testsuite/systemtap.samples/sysopen.exp b/testsuite/systemtap.samples/sysopen.exp
deleted file mode 100644
index 5e4ed6ae..00000000
--- a/testsuite/systemtap.samples/sysopen.exp
+++ /dev/null
@@ -1,12 +0,0 @@
-set test "sysopen"
-if {![installtest_p]} { untested $test; return }
-spawn stap $srcdir/$subdir/sysopen.stp
-set ok 0
-expect {
- -timeout 60 -re {.* opened .*\r} { incr ok; exp_continue }
- timeout { fail "$test (timeout)" }
- eof { }
-}
-#FIXME does not handle case of hanging sysopen.stp correctly
-wait
-if {$ok >= 1} { pass "$test ($ok)" } { fail "$test ($ok)" }
diff --git a/testsuite/systemtap.samples/sysopen.stp b/testsuite/systemtap.samples/sysopen.stp
deleted file mode 100644
index 58a27b71..00000000
--- a/testsuite/systemtap.samples/sysopen.stp
+++ /dev/null
@@ -1,9 +0,0 @@
-#! stap
-
-# pulling out some params has been a problem; see PR 1295
-probe kernel.function("sys_open") {
- log (execname() . " opened " . user_string($filename))
-}
-probe timer.ms(10000) {
- exit ()
-}