summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/debugpath.exp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-05-28 12:01:15 -0400
committerDave Brolley <brolley@redhat.com>2009-05-28 12:01:15 -0400
commit2d36bab8c335ad65a4db09c556ba4e6ad1699339 (patch)
tree990b78fe819c70072d4795028837773505879f3d /testsuite/systemtap.base/debugpath.exp
parent99587ed126351da39b002a1363703b2f7749a49c (diff)
parent9b59029875a7e4d362834fe2d6017b74a044b2e6 (diff)
downloadsystemtap-steved-2d36bab8c335ad65a4db09c556ba4e6ad1699339.tar.gz
systemtap-steved-2d36bab8c335ad65a4db09c556ba4e6ad1699339.tar.xz
systemtap-steved-2d36bab8c335ad65a4db09c556ba4e6ad1699339.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.base/debugpath.exp')
-rw-r--r--testsuite/systemtap.base/debugpath.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp
index b0f938b6..059b6b07 100644
--- a/testsuite/systemtap.base/debugpath.exp
+++ b/testsuite/systemtap.base/debugpath.exp
@@ -1,6 +1,6 @@
set test "debugpath-bad"
-spawn env SYSTEMTAP_DEBUGINFO_PATH=/dev/null stap -e "probe kernel.function(\"sys_open\") {}" -wp4
+spawn env SYSTEMTAP_DEBUGINFO_PATH=/dev/null stap -e "probe kernel.function(\"vfs_read\") {}" -wp4
expect {
-re {^semantic error:.*missing.*debuginfo} { pass $test }
timeout { fail "$test (timeout1)" }
@@ -21,7 +21,7 @@ if [file isdirectory /usr/lib/debug] {
set debuginfo_path "/lib/modules/$uname"
}
-spawn env SYSTEMTAP_DEBUGINFO_PATH=$debuginfo_path stap -e "probe kernel.function(\"sys_open\") {}" -wp2
+spawn env SYSTEMTAP_DEBUGINFO_PATH=$debuginfo_path stap -e "probe kernel.function(\"vfs_read\") {}" -wp2
expect {
-re {kernel.function.*pc=} { pass $test }
timeout { fail "$test (timeout2)" }