]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.base/define.exp
[gdb/testsuite] Fix gdb.base/define.exp with check-read1
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / define.exp
index e8508b8728dcaa953fb861d481e0356ca5aeaa10..d7d4fd03ba528d1f93e05a677387c927280148cc 100644 (file)
@@ -302,7 +302,7 @@ gdb_test_multiple "set prompt \\(blah\\) " "set gdb_prompt" {
 }
 
 gdb_test_multiple "set prompt $prior_prompt " "reset gdb_prompt" {
-    -re "$gdb_prompt $" {
+    -re "\r\n$gdb_prompt $" {
        pass "reset gdb_prompt"
     }
 }