summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cache.exp
diff options
context:
space:
mode:
authordsmith <dsmith>2007-07-26 21:40:50 +0000
committerdsmith <dsmith>2007-07-26 21:40:50 +0000
commitdc47c10f115509090eda6f965001ccc32fdbdb57 (patch)
treebff04f4c9e835ff2d01b91223f964edc3046d5ce /testsuite/systemtap.base/cache.exp
parentfc52ef5baf3208370014471fc7608712e1e4cb18 (diff)
downloadsystemtap-steved-dc47c10f115509090eda6f965001ccc32fdbdb57.tar.gz
systemtap-steved-dc47c10f115509090eda6f965001ccc32fdbdb57.tar.xz
systemtap-steved-dc47c10f115509090eda6f965001ccc32fdbdb57.zip
2007-07-26 David Smith <dsmith@redhat.com>
PR 4295 * systemtap.samples/args.exp: Tests to make sure the '-m' option leaves a module in the current directory. * systemtap.base/cache.exp (stap_compile): Added cleanup.
Diffstat (limited to 'testsuite/systemtap.base/cache.exp')
-rw-r--r--testsuite/systemtap.base/cache.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cache.exp b/testsuite/systemtap.base/cache.exp
index c8084ec9..eaa5ca82 100644
--- a/testsuite/systemtap.base/cache.exp
+++ b/testsuite/systemtap.base/cache.exp
@@ -117,7 +117,9 @@ set env(SYSTEMTAP_DIR) $local_systemtap_dir
# Disable the cache with '-m'
stap_compile MODNAM1 [F_UNCACHED_COMPILE] $basic_script1 -m modnam
+exec /bin/rm -f modnam.ko
stap_compile MODNAM2 [F_UNCACHED_COMPILE] $basic_script1 -m modnam
+exec /bin/rm -f modnam.ko
# Make sure scripts that don't actually compile don't get cached
stap_compile ERROR1 [F_UNCACHED_NO_COMPILE] $error_script