summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/systemtap.exp
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-12-08 23:34:25 +0100
committerTim Moore <timoore@redhat.com>2009-12-08 23:34:25 +0100
commitf4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38 (patch)
tree3fdabe20037596c869776f1bff6c4bd3b8e058f0 /testsuite/lib/systemtap.exp
parent8cabc8bcdcd22e8726734f1a18f23ed7d9c19e9f (diff)
parent63b4fd1474ec5859fac4c9b710c8f466bcd3b0f7 (diff)
downloadsystemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.tar.gz
systemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.tar.xz
systemtap-steved-f4ba7c13533b7e99edd0e66a0f6ccd6c0f55ec38.zip
Merge commit 'origin/master'
Diffstat (limited to 'testsuite/lib/systemtap.exp')
-rw-r--r--testsuite/lib/systemtap.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp
index f16facc2..13e6d1a2 100644
--- a/testsuite/lib/systemtap.exp
+++ b/testsuite/lib/systemtap.exp
@@ -175,7 +175,9 @@ proc shutdown_server {} {
}
# Remove the temporary stap script
- exec /bin/rm -fr $net_path
+ if [file exists $net_path] {
+ exec /bin/rm -fr $net_path
+ }
}
proc get_system_info {} {