aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/lib/gas-dg.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/lib/gas-dg.exp')
-rw-r--r--gas/testsuite/lib/gas-dg.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/lib/gas-dg.exp b/gas/testsuite/lib/gas-dg.exp
index 801b9b4..3b90548 100644
--- a/gas/testsuite/lib/gas-dg.exp
+++ b/gas/testsuite/lib/gas-dg.exp
@@ -21,7 +21,7 @@ proc gas-dg-test { prog do_what tool_flags } {
"run" {
# This is the only place where we care if an executable was
# created or not. If it was, dg.exp will try to run it.
- catch "exec rm -f $output_file"
+ remote_file host delete "$output_file"
}
default {
perror "$do_what: not a valid dg-do keyword"