This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: re-indent testsuite/gdb.base/completion.exp
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 4 Dec 2001 11:20:19 -0500 (EST)
- Subject: PATCH: re-indent testsuite/gdb.base/completion.exp
You're thrilled, I'm sure.
2001-12-04 Jim Blandy <jimb@redhat.com>
* gdb.base/completion.exp: Clarify indentation.
Index: gdb/testsuite/gdb.base/completion.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/completion.exp,v
retrieving revision 1.7
diff -c -r1.7 completion.exp
*** gdb/testsuite/gdb.base/completion.exp 2001/09/27 22:21:22 1.7
--- gdb/testsuite/gdb.base/completion.exp 2001/12/04 16:11:51
***************
*** 470,488 ****
send_gdb "p b-a\t"
sleep 1
! gdb_expect {
! -re "^p b-a\\\x07$"\
! { send_gdb "\n"
! gdb_expect {
! -re "No symbol \"b\" in current context\\..*$gdb_prompt $"\
! { pass "complete 'p b-a'"}
! -re ".*$gdb_prompt $" { fail "complete 'p b-a'"}
! timeout {fail "(timeout) complete 'p b-a'"}
! }
}
! -re ".*$gdb_prompt $" { fail "complete 'p b-a'" }
! timeout { fail "(timeout) complete 'p b-a'" }
}
send_gdb "p b-a\t"
sleep 1
--- 470,497 ----
send_gdb "p b-a\t"
sleep 1
! gdb_expect {
! -re "^p b-a\\\x07$" {
! send_gdb "\n"
! gdb_expect {
! -re "No symbol \"b\" in current context\\..*$gdb_prompt $" {
! pass "complete 'p b-a'"
}
! -re ".*$gdb_prompt $" {
! fail "complete 'p b-a'"
! }
! timeout {
! fail "(timeout) complete 'p b-a'"
! }
}
+ }
+ -re ".*$gdb_prompt $" {
+ fail "complete 'p b-a'"
+ }
+ timeout {
+ fail "(timeout) complete 'p b-a'"
+ }
+ }
send_gdb "p b-a\t"
sleep 1