aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-27 13:37:26 +0000
committerTom Tromey <tromey@redhat.com>2012-06-27 13:37:26 +0000
commit5204774b6f67d634e3571a9cf92f5e1e2d2bbea8 (patch)
tree023ad7ef927042d8a9c257bf7480deed49b54ca9 /gdb/testsuite/gdb.python
parentc200d65dfe1b180b1f5f826e053ecb89dfd97f55 (diff)
downloadgdb-5204774b6f67d634e3571a9cf92f5e1e2d2bbea8.zip
gdb-5204774b6f67d634e3571a9cf92f5e1e2d2bbea8.tar.gz
gdb-5204774b6f67d634e3571a9cf92f5e1e2d2bbea8.tar.bz2
* gdb.python/python.exp: Fix regexps in pagination tests.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/python.exp4
1 files changed, 2 insertions, 2 deletions
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"