aboutsummaryrefslogtreecommitdiff
path: root/lib/dg.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2011-04-12 19:22:45 +1000
committerBen Elliston <bje@gnu.org>2011-04-12 19:34:50 +1000
commit55a770e7c6897d521d4ba7995ac60ec72b0c50b4 (patch)
treede3f6780ddf30a3d835e56ac4cc2d7e515583cd8 /lib/dg.exp
parent126a089777158a7891ff975473939f08c0e31a1c (diff)
downloaddejagnu-55a770e7c6897d521d4ba7995ac60ec72b0c50b4.zip
dejagnu-55a770e7c6897d521d4ba7995ac60ec72b0c50b4.tar.gz
dejagnu-55a770e7c6897d521d4ba7995ac60ec72b0c50b4.tar.bz2
* config/vxworks.exp (vxworks_file): Use "file delete", not "exec
rm", for better portability. * config/netware.exp (${board}_load): Likewise. * lib/dg.exp (dg-test): Likewise. * lib/framework.exp (open_logs): Likewise. * lib/remote.exp (standard_file): Likewise. * runtest.exp: Likewise. * testsuite/runtest.all/options.exp: Likewise.
Diffstat (limited to 'lib/dg.exp')
-rw-r--r--lib/dg.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dg.exp b/lib/dg.exp
index 081644e..889585f 100644
--- a/lib/dg.exp
+++ b/lib/dg.exp
@@ -897,7 +897,7 @@ proc dg-test { args } {
# When testing an interpreter, we don't compile something and leave an
# output file.
if { ! ${keep} && ${dg-interpreter-batch-mode} == 0 } {
- catch "exec rm -f $output_file"
+ catch "file delete -force -- $output_file"
}
}