2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Wed, 17 Dec 2003 05:43:46 +0000 (05:43 +0000)
committerMichael Chastain <mec@google.com>
Wed, 17 Dec 2003 05:43:46 +0000 (05:43 +0000)
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp

index 3e7ccdbb2832ef70106d2b53b8e1e1372fd97b25..189384910b2e26b74e43e93e5da7e5b691f8a061 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-16  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
+
 2003-12-13  Jim Blandy  <jimb@redhat.com>
 
        * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
index 48641642e186393774d7eed224fd15b60c3c4bbd..3e98c0007c279ad41a80916af956a78c87e97e35 100644 (file)
@@ -400,6 +400,7 @@ gdb_expect {
     -re ".*bss.*$gdb_prompt $"      { fail "maint info sections .text" }
     -re ".*data.*$gdb_prompt $"     { fail "maint info sections .text" }
     -re ".* .text .*$gdb_prompt $"  { pass "maint info sections .text" }
+    -re ".*$gdb_prompt $"           { fail "maint info sections .text" }
     timeout               { fail "(timeout) maint info sections .text" }
 }
 
@@ -409,6 +410,7 @@ send_gdb "maint info sections CODE\n"
 gdb_expect {
     -re ".* .data .*$gdb_prompt $" { fail "maint info sections CODE" }
     -re ".* .text .*$gdb_prompt $" { pass "maint info sections CODE" }
+    -re ".*$gdb_prompt $"          { fail "maint info sections CODE" }
     timeout              { fail "(timeout) maint info sections CODE" }
 }
 
@@ -418,6 +420,7 @@ send_gdb "maint info sections DATA\n"
 gdb_expect {
     -re ".* .text .*$gdb_prompt $" { fail "maint info sections DATA" }
     -re ".* .data .*$gdb_prompt $" { pass "maint info sections DATA" }
+    -re ".*$gdb_prompt $"          { fail "maint info sections DATA" }
     timeout              { fail "(timeout) maint info sections DATA" }
 }
 
This page took 0.031747 seconds and 4 git commands to generate.