This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
testsuite patch
- To: gdb-patches@sourceware.cygnus.com
- Subject: testsuite patch
- From: jtc@redback.com (J.T. Conklin)
- Date: 19 Aug 1999 11:01:38 -0700
- Reply-To: jtc@redback.com
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