summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2008-05-30 13:53:59 +0530
committerSrikar Dronamraju <srikar@linux.vnet.ibm.com>2008-05-30 13:53:59 +0530
commit921d61030221bc5ff27f8d63d3fa30e93f659484 (patch)
treec4df636c217e2037fcc844a8d86e17505fe5c972 /testsuite/systemtap.base
parent974665688b988acc952c9a09c55079844c2bbc63 (diff)
downloadsystemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.tar.gz
systemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.tar.xz
systemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.zip
PR 6562, Modify SYSTEMTAP_DEBUGINFO_PATH behaviour.
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r--testsuite/systemtap.base/debugpath.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/debugpath.exp b/testsuite/systemtap.base/debugpath.exp
index b6e5674b..9c42295d 100644
--- a/testsuite/systemtap.base/debugpath.exp
+++ b/testsuite/systemtap.base/debugpath.exp
@@ -10,7 +10,8 @@ expect {
wait
set test "debugpath-good"
-spawn env SYSTEMTAP_DEBUGINFO_PATH=:/usr/lib/debug:build stap -e "probe kernel.function(\"sys_open\") {}" -p2
+set uname [exec /bin/uname -r]
+spawn env SYSTEMTAP_DEBUGINFO_PATH=/lib/modules/$uname/build stap -e "probe kernel.function(\"sys_open\") {}" -p2
expect {
-re {kernel.function.*pc=} { pass $test }
timeout { fail "$test (timeout2)" }