summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-18 21:17:57 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-18 21:17:57 +0000
commit7049b4b8ac9039dc4f09e312e68fedc8227caac8 (patch)
tree10499d3929bf3dfb157e72552f758bb4d6f5f9e5 /gdb/testsuite/gdb.base
parent0bd8997ef2e7e3f41be423fd0ae6d2c2ac3f73a8 (diff)
downloadbinutils-gdb-7049b4b8ac9039dc4f09e312e68fedc8227caac8.tar.gz
* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
used with gdb_test_multiple.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/fileio.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp
index 80dc6186957..2a717bff182 100644
--- a/gdb/testsuite/gdb.base/fileio.exp
+++ b/gdb/testsuite/gdb.base/fileio.exp
@@ -218,10 +218,10 @@ gdb_test continue \
send_gdb "tbreak 388\n" ; gdb_expect -re "$gdb_prompt $"
set test "Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST"
gdb_test_multiple continue "${test}" {
- -re "Continuing\\..*rename 3:.*(ENOTEMPTY|EEXIST).*test_rename \\(\\) at.*$srcfile:388.*" {
+ -re "Continuing\\..*rename 3:.*(ENOTEMPTY|EEXIST).*test_rename \\(\\) at.*$srcfile:388.*$gdb_prompt $" {
pass "${test}"
}
- -re "Continuing\\..*rename 3:.*EBUSY.*test_rename \\(\\) at.*$srcfile:388.*" {
+ -re "Continuing\\..*rename 3:.*EBUSY.*test_rename \\(\\) at.*$srcfile:388.*$gdb_prompt $" {
# At least version <= 2.6/2004-01-08 of the Linux Kernel gets
# this wrong (reporting EBUSY) when the file system is NFS
# mounted.