From da9baf8ce959c7bcda18434232743c7f1bba2062 Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 11 Jul 2007 02:39:44 +0000 Subject: 2007-07-10 Martin Hunt * systemtap.context/context.exp: Copy modules to /lib/modules/`uname -r`/kernel for debug info. --- testsuite/systemtap.context/context.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.context') 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 -- cgit