This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]