]> sourceware.org Git - systemtap.git/commitdiff
PR18889 testing: already done by modules_out_of_tree.exp
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 2 Sep 2015 15:52:31 +0000 (11:52 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 2 Sep 2015 15:52:31 +0000 (11:52 -0400)
Ditch bz6503, given that it wasn't reliable.

testsuite/systemtap.base/bz6503.exp [deleted file]
testsuite/systemtap.base/bz6503.stp [deleted file]

diff --git a/testsuite/systemtap.base/bz6503.exp b/testsuite/systemtap.base/bz6503.exp
deleted file mode 100644 (file)
index 5d4d2d0..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# Note that this test is *really* testing the bug fix for pr6503:
-#   permit probes on module .init and __exit functions
-#   <http://sourceware.org/bugzilla/show_bug.cgi?id=6503>
-#
-# Not BZ6503:
-#   ypserve does not work
-#   <https://bugzilla.redhat.com/show_bug.cgi?id=6503>
-#
-# Unfortunately, PR17249 indicates that module-init probes
-# have subsequently broken (due to kernel notification timing
-# changes).
-#
-
-set test bz6503
-
-if {! [installtest_p]} {
-    untested "$test"
-    return
-}
-
-# If we aren't root, make sure the test still succeeds.
-set effective_pid [exec /usr/bin/id -u]
-if {$effective_pid != 0} {
-    set root_cmd "sudo "
-} else {
-    set root_cmd ""
-}
-
-
-# jffs2/ext2/fat/vfat should cover a span of kernels.
-#
-# Note that this test might fail if there is a filesystem of one of
-# these types already mounted.  The filesystem mount will be
-# unaffected (since the module can't be removed).
-spawn stap -t $srcdir/$subdir/bz6503.stp -c "( ($root_cmd /sbin/modprobe jffs2; $root_cmd /sbin/modprobe ext2; $root_cmd /sbin/modprobe fat; $root_cmd /sbin/modprobe vfat); wait; ($root_cmd /sbin/rmmod jffs2; $root_cmd /sbin/rmmod ext2; $root_cmd /sbin/rmmod vfat; $root_cmd /sbin/rmmod fat); wait) 2>/dev/null"
-
-set ok 0
-set ko 0
-expect {
-    -timeout 60
-    timeout { fail "$test (timeout)" }
-    -re {^-----[^\r\n]*\r\n} { exp_continue }
-    -re {^module[^\r\n]*hits:[^\r\n]*\r\n} { incr ok; exp_continue }
-    -re {^WARNING:[\r\n]*\r\n} { incr ko; exp_continue }
-    -re {^ERROR:[\r\n]*\r\n} { incr ko; exp_continue }
-    eof { }
-}
-catch { close} ; catch { wait }
-
-# Mark kernels without module refresh support as xfail
-if {![module_refresh_p]} { setup_xfail *-*-* }
-
-if {$ok > 0 && $ko == 0} then { pass "$test $ok" } else { fail "$test $ok $ko"}
-
-
diff --git a/testsuite/systemtap.base/bz6503.stp b/testsuite/systemtap.base/bz6503.stp
deleted file mode 100644 (file)
index 409149f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-probe module("jffs2").function("*").call ?,
-      module("ext2").function("*").call ?,
-      module("fat").function("*").call ?,
-      module("vfat").function("*").call ?,
-      never { }
This page took 0.029538 seconds and 5 git commands to generate.