]> sourceware.org Git - systemtap.git/commitdiff
Better sdt.exp test cleanup.
authorDavid Smith <dsmith@redhat.com>
Mon, 1 Jun 2009 18:25:44 +0000 (13:25 -0500)
committerDavid Smith <dsmith@redhat.com>
Mon, 1 Jun 2009 18:25:44 +0000 (13:25 -0500)
* testsuite/systemtap.base/sdt.exp: Better cleanup.

testsuite/systemtap.base/sdt.exp

index c3aed91eb37ec013c5ae273d2e9a0566d86b260c..d24093e0715b021b987999327dccf1173d032f00 100644 (file)
@@ -41,6 +41,7 @@ if {[installtest_p] && [utrace_p]} {
 } else {
   untested "$test $extra_flag"
 }
+catch {exec rm -f $testprog}
 
 # C++
 set testprog "sdt.cxx.exe.$i"
@@ -66,5 +67,5 @@ if {[installtest_p] && [utrace_p]} {
 } else {
   untested "$test c++ $extra_flag"
 }
+catch {exec rm -f $testprog}
 }
-
This page took 0.028792 seconds and 5 git commands to generate.