This is the mail archive of the gdb-patches@sourceware.cygnus.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]

testsuite patch


1999-08-19  J.T. Conklin  <jtc@redback.com>

	* gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
 	characters in 'continue to 1241' test.

Index: call-ar-st.exp
===================================================================
RCS file: /home/jtc/CVSROOT/gdb/gdb/testsuite/gdb.base/call-ar-st.exp,v
retrieving revision 1.1.1.4
diff -c -r1.1.1.4 call-ar-st.exp
*** call-ar-st.exp	1999/08/05 20:07:28	1.1.1.4
--- call-ar-st.exp	1999/08/13 17:42:02
***************
*** 311,317 ****
  
  send_gdb  "continue\n"
  gdb_expect {
!  -re ".*main \\(\\) at .*call-ar-st.c:1241\r\n1241\t\[ \]+sum_array_print\\(10, \\*list1, \\*list2, \\*list3, \\*list4\\);.*$gdb_prompt $" {
                     pass "continue to 1241"}
   -re ".*$gdb_prompt $" { fail "continue to 1241"}
   timeout           { fail "(timeout) continue to 1241"}
--- 311,317 ----
  
  send_gdb  "continue\n"
  gdb_expect {
!  -re ".*main \\(\\) at .*call-ar-st.c:1241\r\n1241\[\t \]+sum_array_print\\(10, \\*list1, \\*list2, \\*list3, \\*list4\\);.*$gdb_prompt $" {
                     pass "continue to 1241"}
   -re ".*$gdb_prompt $" { fail "continue to 1241"}
   timeout           { fail "(timeout) continue to 1241"}

-- 
J.T. Conklin
RedBack Networks

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