From: Doug Evans Date: Wed, 7 Apr 2010 03:47:22 +0000 (+0000) Subject: Fix regexps in previous checkin. X-Git-Tag: cygwin-1_7_5-release~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=937502b8a9923fccdded4b25c900fdf1e64d2480;p=thirdparty%2Fbinutils-gdb.git Fix regexps in previous checkin. --- 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" } }