* gdb.python/python.exp: Fix regexps in pagination tests.
authorTom Tromey <tromey@redhat.com>
Wed, 27 Jun 2012 13:37:26 +0000 (13:37 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 27 Jun 2012 13:37:26 +0000 (13:37 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/python.exp

index 42ae689f580d5b42266c0ff682cb0cd1726fecb2..e412100df8d4f2ec1a2cdfb81be46a8d0b5135ea 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/python.exp: Fix regexps in pagination tests.
+
 2012-06-26  Siva Chandra Reddy  <sivachandra@google.com>
 
        * gdb.python/py-symtab.exp: Add tests to test the new attribute
index 2c7ead2693550a08fc595dca767e51e212fb8399..9683b1ccf7a66aa75a7d9758a7f8832294aa0978 100644 (file)
@@ -112,7 +112,7 @@ gdb_test_multiple "python print \"\\n\" * $lines" $test {
        pass $test
     }
 }
-gdb_test "q" "Quit" "verify pagination beforehand: q"
+gdb_test "q" "Quit.*Error while executing Python.*" "verify pagination beforehand: q"
 
 gdb_test "python if gdb.execute('python print \"\\\\n\" * $lines', to_string=True) == \"\\n\" * [expr $lines + 1]: print \"yes\"" "yes" "gdb.execute does not page"
 
@@ -128,7 +128,7 @@ gdb_test_multiple "python print \"\\n\" * $lines" $test {
        pass $test
     }
 }
-gdb_test "q" "Quit" "verify pagination afterwards: q"
+gdb_test "q" "Quit.*Error while executing Python.*" "verify pagination afterwards: q"
 
 gdb_test_no_output "set height 0"
 
This page took 0.03824 seconds and 4 git commands to generate.