summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-02-06 12:53:37 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-02-06 12:53:37 -0500
commitd1e81455651ff70d1b380fd1b63ea0ae9047eb0f (patch)
treea3a4260c20e1b254fca80c7a485e8d9a57ffd179 /testsuite/systemtap.samples
parent2b7e0f29ac8bc4ed53c960607ead69cc7a571454 (diff)
downloadsystemtap-steved-d1e81455651ff70d1b380fd1b63ea0ae9047eb0f.tar.gz
systemtap-steved-d1e81455651ff70d1b380fd1b63ea0ae9047eb0f.tar.xz
systemtap-steved-d1e81455651ff70d1b380fd1b63ea0ae9047eb0f.zip
Removed syscalls.stp, syscalls1.exp, and syscalls2.exp.
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r--testsuite/systemtap.samples/syscalls.stp7
-rw-r--r--testsuite/systemtap.samples/syscalls1.exp14
-rw-r--r--testsuite/systemtap.samples/syscalls2.exp15
3 files changed, 0 insertions, 36 deletions
diff --git a/testsuite/systemtap.samples/syscalls.stp b/testsuite/systemtap.samples/syscalls.stp
deleted file mode 100644
index 3ccfb8e5..00000000
--- a/testsuite/systemtap.samples/syscalls.stp
+++ /dev/null
@@ -1,7 +0,0 @@
-#! stap
-
-global count
-probe kernel.function("sys_*").call {
- printf("%d %s\n", pid(), pp())
- if (++count > 100) exit()
-}
diff --git a/testsuite/systemtap.samples/syscalls1.exp b/testsuite/systemtap.samples/syscalls1.exp
deleted file mode 100644
index eb8a0c6d..00000000
--- a/testsuite/systemtap.samples/syscalls1.exp
+++ /dev/null
@@ -1,14 +0,0 @@
-set test "syscalls-count"
-if {![installtest_p]} { untested $test; return }
-
-spawn stap -p2 $srcdir/$subdir/syscalls.stp
-set ok 0
-expect {
- -timeout 180
- -re {kernel.function[^\r]*sys_[^\r]*\r} { incr ok; exp_continue }
- timeout { fail "$test (timeout)" }
- eof { }
-}
-#FIXME does not handle case of hanging psyscalls.stp correctly
-wait
-if {$ok > 200 && $ok < 350} { pass "$test ($ok)" } { fail "$test ($ok)" }
diff --git a/testsuite/systemtap.samples/syscalls2.exp b/testsuite/systemtap.samples/syscalls2.exp
deleted file mode 100644
index 7bbd9a51..00000000
--- a/testsuite/systemtap.samples/syscalls2.exp
+++ /dev/null
@@ -1,15 +0,0 @@
-set test "syscalls-run"
-if {![installtest_p]} { untested $test; return }
-spawn stap $srcdir/$subdir/syscalls.stp
-set ok 0
-expect {
- -timeout 240
- -re {[0-9]* kernel.function[^\r]*\r} { incr ok; exp_continue }
- timeout { fail "$test (timeout)" }
- eof { }
-}
-#FIXME does not handle case of hanging psyscalls.stp correctly
-wait
-# 150 is conservative - it's larger than 100 to allow a bit of slop
-# between the exit() call and the actual shutdown
-if {$ok >= 100 && $ok < 150} { pass "$test ($ok)" } { fail "$test ($ok)" }