bfd:
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / exclude.exp
index 2bb8cf6aab68810796d68c2b5aa41eb5969dde6f..264c138035320843345a281e4fe90e1d3f136e37 100644 (file)
@@ -53,8 +53,8 @@ if { ![ld_assemble $as $srcdir/$subdir/exclude1.s tmpdir/exclude1.o ]
     return
 }
 
-catch "exec rm -f tmpdir/libexclude.a" catch_output
-catch "exec $ar cq tmpdir/libexclude.a tmpdir/exclude2.o" catch_output
+remote_file host delete "tmpdir/libexclude.a"
+set catch_output [run_host_cmd "$ar" "cq tmpdir/libexclude.a tmpdir/exclude2.o"]
 if {![string match "" $catch_output]} {
     unresolved $test1
     return
This page took 0.023145 seconds and 4 git commands to generate.