]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.c++/templates.exp
2001-11-07 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.c++ / templates.exp
index 8a8e9046a007b1ac8f7202b57bb974d555f58f0f..3166e5a848a2522e0eeb881c3bc839949c992532 100644 (file)
@@ -114,7 +114,11 @@ proc test_template_breakpoints {} {
                "canceled" \
                "constructor breakpoint"
        }
-        -re ".*\n> $" { fail "constructor breakpoint" }
+        -re ".*\n> $" {
+           gdb_test "0" \
+                   "nonsense intended to insure that this test fails" \
+                   "constructor breakpoint (bad menu choices)"
+       }
        -re ".*$gdb_prompt $" { fail "constructor breakpoint" }
        default { fail "constructor breakpoint (timeout)" }
     }