aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-06-30 18:28:12 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-06-30 18:28:12 +0000
commit69af212282958e2b80f41ba25af47c8b022ddae7 (patch)
tree92f1574e13633cff096b81a1104c7e07524f9680 /gdb/testsuite
parentaa5ca48fad05503860c254806750c8a304ec9fc5 (diff)
downloadgdb-69af212282958e2b80f41ba25af47c8b022ddae7.zip
gdb-69af212282958e2b80f41ba25af47c8b022ddae7.tar.gz
gdb-69af212282958e2b80f41ba25af47c8b022ddae7.tar.bz2
gdb/testsuite/
Remove racy FAILs relying just on the timeouts. * gdb.base/setshow.exp (set annotate 2, show annotate (2)) (annotation_level 2): Remove racy FAILs.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/setshow.exp3
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a9436f4..635ea86 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Remove racy FAILs relying just on the timeouts.
+ * gdb.base/setshow.exp (set annotate 2, show annotate (2))
+ (annotation_level 2): Remove racy FAILs.
+
2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
gdb/10275
diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp
index 5938def..5630da3 100644
--- a/gdb/testsuite/gdb.base/setshow.exp
+++ b/gdb/testsuite/gdb.base/setshow.exp
@@ -60,7 +60,6 @@ send_gdb "set annotate 2\n"
gdb_expect {
-re ".*\032\032pre-prompt.*$gdb_prompt .*\032\032prompt.*$" \
{ pass "set annotate 2" }
- -re ".*$gdb_prompt $" { fail "set annotate 2" }
timeout { fail "(timeout) set annotate 2" }
}
@@ -68,7 +67,6 @@ send_gdb "show annotate\n"
gdb_expect {
-re ".*\032\032post-prompt.*Annotation_level is 2..*\032\032pre-prompt.*$gdb_prompt .*\032\032prompt.*$" \
{ pass "show annotate (2)" }
- -re ".*$gdb_prompt $" { fail "show annotate (2)" }
timeout { fail "(timeout) show annotate (2)" }
}
@@ -77,7 +75,6 @@ send_gdb "info line 1\n"
gdb_expect {
-re ".*\032\032post-prompt.*Line 1 of .* is at address .* but contains no code.*:1:0:beg:0x.*\032\032pre-prompt.*$gdb_prompt .*\032\032prompt.*$" \
{ pass "annotation_level 2" }
- -re ".*$gdb_prompt $" { fail "annotation_level 2" }
timeout { fail "(timeout) annotation_level 2" }
}