aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-01 16:11:07 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-01 16:11:07 +0000
commit3c1c71bf59936ddb58a93393a375d0f4bb7514c3 (patch)
treeafd59f3adad76f25ab72b7005d81e1b3962916d3 /gdb/testsuite/gdb.base
parent9ea5de84ab25731d33cc01c4e9610a40055903ba (diff)
downloadgdb-3c1c71bf59936ddb58a93393a375d0f4bb7514c3.zip
gdb-3c1c71bf59936ddb58a93393a375d0f4bb7514c3.tar.gz
gdb-3c1c71bf59936ddb58a93393a375d0f4bb7514c3.tar.bz2
* gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
ultrix.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/a1-selftest.exp10
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp
index d22afb9..dbe4ec9 100644
--- a/gdb/testsuite/gdb.base/a1-selftest.exp
+++ b/gdb/testsuite/gdb.base/a1-selftest.exp
@@ -385,9 +385,13 @@ proc test_with_self {} {
}
}
- # We'll need this when we send a ^C to GDB
- gdb_test "shell stty intr '^C'" "" \
- "set interrupt character in test_with_self"
+ # We'll need this when we send a ^C to GDB.
+ # On Ultrix, we don't need it and it is really slow (because shell_escape
+ # doesn't use vfork).
+ if ![istarget "*-*-ultrix*"] then {
+ gdb_test "shell stty intr '^C'" "" \
+ "set interrupt character in test_with_self"
+ }
# start the "xgdb" process
send "continue\n"