From 0fcc17f8898b6f0b5883882f0bd33198c8dfe96d Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Thu, 2 Apr 2009 13:47:44 +0000 Subject: [PATCH] * 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. --- binutils/testsuite/ChangeLog | 7 +++++++ binutils/testsuite/binutils-all/objcopy.exp | 3 +++ 2 files changed, 10 insertions(+) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index cc83d948b2a..6b4641eb8a3 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2009-04-02 Dave Korn + + * 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 * binutils-all/objdump.W, binutils-all/objdump.s: Don't match diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index d45d717cfa0..bb1c2dbf247 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -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] -- 2.30.2