]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix regexps in previous checkin.
authorDoug Evans <dje@google.com>
Wed, 7 Apr 2010 03:47:22 +0000 (03:47 +0000)
committerDoug Evans <dje@google.com>
Wed, 7 Apr 2010 03:47:22 +0000 (03:47 +0000)
gdb/testsuite/gdb.base/source.exp

index 3d5e72a9965bc32c64741a8bad8a8868458727ae..ccb17ee9586960e3de52625b0864bf1e60c592ad 100644 (file)
@@ -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"
     }
 }