mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
2003-07-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Use SH when running commands using remote_exec.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user