aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.base/source.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp
index 3d5e72a..ccb17ee 100644
--- a/gdb/testsuite/gdb.base/source.exp
+++ b/gdb/testsuite/gdb.base/source.exp
@@ -43,10 +43,10 @@ gdb_test "source -v ${srcdir}/${subdir}/source-test.gdb" \
# Verify "source script", without the -v, is not verbose.
set test "source after -v"
gdb_test_multiple "source ${srcdir}/${subdir}/source-test.gdb" $test {
- -re "echo test source options" {
+ -re "echo test source options.*$gdb_prompt $" {
fail "$test"
}
- -re "test source options" {
+ -re "test source options.*$gdb_prompt $" {
pass "$test"
}
}