diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-27 21:24:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-27 21:24:09 +0000 |
commit | 225f2bf663e2970b4e2a4318f1a21bb11eefa407 (patch) | |
tree | a2d0b24b84d2873f5eb2322c5f4c1f87c84e4a04 /gdb/testsuite | |
parent | c8a7f6ac6491b217a1087f73c83c9e7a2497fcc3 (diff) | |
download | gdb-225f2bf663e2970b4e2a4318f1a21bb11eefa407.zip gdb-225f2bf663e2970b4e2a4318f1a21bb11eefa407.tar.gz gdb-225f2bf663e2970b4e2a4318f1a21bb11eefa407.tar.bz2 |
2003-07-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/fileio.exp | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1b5595e..548655a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-07-27 Andrew Cagney <cagney@redhat.com> + + * gdb.base/fileio.exp: Use SH when running commands using + remote_exec. + 2003-07-24 Daniel Jacobowitz <drow@mvista.com> From Kei Sakamoto <sakamoto.kei@renesas.com>: diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp index 279f1ab..98c64db8 100644 --- a/gdb/testsuite/gdb.base/fileio.exp +++ b/gdb/testsuite/gdb.base/fileio.exp @@ -52,8 +52,8 @@ if [get_compiler_info ${binfile}] { return -1; } -remote_exec build "test -r dir2.fileio.test && chmod -f +w dir2.fileio.test" -remote_exec build "rm -rf *.fileio.test" +remote_exec build {sh -xc test\ -r\ dir2.fileio.test\ &&\ chmod\ -f\ +w\ dir2.fileio.test} +remote_exec build {sh -xc rm\ -rf\ *.fileio.test} set oldtimeout $timeout set timeout [expr "$timeout + 60"] @@ -269,9 +269,8 @@ gdb_test continue \ send_gdb "quit\n" send_gdb "y\n" -remote_exec build "test -r dir2.fileio.test && chmod -f +w dir2.fileio.test" -remote_exec build "rm -rf *.fileio.test" +remote_exec build {sh -xc test\ -r\ dir2.fileio.test\ &&\ chmod\ -f\ +w\ dir2.fileio.test} +remote_exec build {sh -xc rm\ -rf\ *.fileio.test} set timeout $oldtimeout return 0 - |