testsuite patch

J.T. Conklin jtc@redback.com
Thu Aug 19 11:12:00 GMT 1999


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


More information about the Gdb-patches mailing list