* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:

Quote ^C when passing it to stty.  For some shells ^ is a pipe.
This commit is contained in:
Jim Kingdon 1995-01-27 18:22:15 +00:00
parent a4efaf7c06
commit e29b45a853
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Quote ^C when passing it to stty. For some shells ^ is a pipe.
* gdb.base/funcargs.exp: Modify many tests so that every test
either passes or fails. Make some test names unique.

View file

@ -386,7 +386,7 @@ proc test_with_self {} {
}
# We'll need this when we send a ^C to GDB
gdb_test "shell stty intr ^C" "" \
gdb_test "shell stty intr '^C'" "" \
"set interrupt character in test_with_self"
# start the "xgdb" process