summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorhunt <hunt>2007-07-11 02:39:44 +0000
committerhunt <hunt>2007-07-11 02:39:44 +0000
commitda9baf8ce959c7bcda18434232743c7f1bba2062 (patch)
tree59b34de67b5a6bfee5496639be228e3842617fc9 /testsuite
parent369733fdaf31d3a3f52d9d5b1f847d0a9f24b7b6 (diff)
downloadsystemtap-steved-da9baf8ce959c7bcda18434232743c7f1bba2062.tar.gz
systemtap-steved-da9baf8ce959c7bcda18434232743c7f1bba2062.tar.xz
systemtap-steved-da9baf8ce959c7bcda18434232743c7f1bba2062.zip
2007-07-10 Martin Hunt <hunt@localhost.localdomain>
* systemtap.context/context.exp: Copy modules to /lib/modules/`uname -r`/kernel for debug info.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/ChangeLog5
-rw-r--r--testsuite/systemtap.context/context.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index c5c68bc4..6e5d6e1a 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-10 Martin Hunt <hunt@localhost.localdomain>
+
+ * systemtap.context/context.exp: Copy modules to
+ /lib/modules/`uname -r`/kernel for debug info.
+
2007-07-10 Martin Hunt <hunt@redhat.com>
* systemtap.context/pid.tcl: Don't try to get real ppid,
diff --git a/testsuite/systemtap.context/context.exp b/testsuite/systemtap.context/context.exp
index 4f134740..95178f03 100644
--- a/testsuite/systemtap.context/context.exp
+++ b/testsuite/systemtap.context/context.exp
@@ -13,7 +13,7 @@ proc cleanup {} {
global build_dir
catch {send "\003"}
foreach n {1 2} {
- catch {exec sudo /bin/rm -f /lib/modules/$::uname/systemtap_test_module$n.ko}
+ catch {exec sudo /bin/rm -f /lib/modules/$::uname/kernel/systemtap_test_module$n.ko}
catch {exec sudo /sbin/rmmod systemtap_test_module$n}
}
if {$build_dir != ""} {exec rm -rf $build_dir}
@@ -46,7 +46,7 @@ proc build_modules {} {
cd $old_dir
return 0
}
- if {[catch {exec sudo cp systemtap_test_module$n.ko /lib/modules/$::uname} res]} {
+ if {[catch {exec sudo cp systemtap_test_module$n.ko /lib/modules/$::uname/kernel} res]} {
puts $res
cd $old_dir
return 0