* gdb.python/python.exp: Fix regexps in pagination tests.
This commit is contained in:
parent
c200d65dfe
commit
5204774b6f
2 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue