From 937502b8a9923fccdded4b25c900fdf1e64d2480 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 7 Apr 2010 03:47:22 +0000 Subject: [PATCH] Fix regexps in previous checkin. --- gdb/testsuite/gdb.base/source.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/source.exp b/gdb/testsuite/gdb.base/source.exp index 3d5e72a9965..ccb17ee9586 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" } } -- 2.30.2