From: Tom Tromey Date: Wed, 27 Jun 2012 13:37:26 +0000 (+0000) Subject: * gdb.python/python.exp: Fix regexps in pagination tests. X-Git-Tag: sid-snapshot-20120701~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5204774b6f67d634e3571a9cf92f5e1e2d2bbea8;p=external%2Fbinutils.git * gdb.python/python.exp: Fix regexps in pagination tests. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 42ae689..e412100 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-06-27 Tom Tromey + + * gdb.python/python.exp: Fix regexps in pagination tests. + 2012-06-26 Siva Chandra Reddy * gdb.python/py-symtab.exp: Add tests to test the new attribute diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 2c7ead2..9683b1c 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -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"