* inutils-all/objcopy.exp (strip_executable): Delete remote dest
authorDave Korn <dave.korn@artimi.com>
Thu, 2 Apr 2009 13:47:44 +0000 (13:47 +0000)
committerDave Korn <dave.korn@artimi.com>
Thu, 2 Apr 2009 13:47:44 +0000 (13:47 +0000)
file before downloading.
(strip_executable_with_saving_a_symbol):  Likewise.
(keep_debug_symbols_and_test_copy):  Likewise.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp

index cc83d948b2a75a3d194a0b5c0dcd17ac8471886d..6b4641eb8a3a32e346a3e854983b016c48941aa1 100644 (file)
@@ -1,3 +1,10 @@
+2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * inutils-all/objcopy.exp (strip_executable):  Delete remote dest
+       file before downloading.
+       (strip_executable_with_saving_a_symbol):  Likewise.
+       (keep_debug_symbols_and_test_copy):  Likewise.
+
 2009-03-11  Joseph Myers  <joseph@codesourcery.com>
 
        * binutils-all/objdump.W, binutils-all/objdump.s: Don't match
index d45d717cfa0bc7701a8e95747eebf64d8e35daa1..bb1c2dbf2479c2ab194d10bb4f92402d7f74c7af 100644 (file)
@@ -611,6 +611,7 @@ proc strip_executable { prog flags test } {
     global NMFLAGS
     global host_triplet
 
+    remote_file build delete tmpdir/striprog
     remote_download build tmpdir/copyprog tmpdir/striprog
     if [is_remote host] {
        set copyfile [remote_download host tmpdir/striprog]
@@ -653,6 +654,7 @@ proc strip_executable_with_saving_a_symbol { prog flags test } {
     global NMFLAGS
     global host_triplet
 
+    remote_file build delete tmpdir/striprog
     remote_download build tmpdir/copyprog tmpdir/striprog
     if [is_remote host] {
        set copyfile [remote_download host tmpdir/striprog]
@@ -704,6 +706,7 @@ proc keep_debug_symbols_and_test_copy { prog1 flags1 test1 prog2 flags2 test2 }
     global NM
     global NMFLAGS
 
+    remote_file build delete tmpdir/striprog
     remote_download build tmpdir/copyprog tmpdir/striprog
     if [is_remote host] {
        set copyfile [remote_download host tmpdir/striprog]