aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/find.exp
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-01-27 08:22:23 +0000
committerPierre Muller <muller@sourceware.org>2009-01-27 08:22:23 +0000
commit09f00d9a9cf0fca532330b9e223de4665a84035d (patch)
tree6e26761b41335cd3092d2aaa33025f5a47d305d5 /gdb/testsuite/gdb.base/find.exp
parentf551b6f0cec18b7c84533d3fa9c09458d05f28d4 (diff)
downloadgdb-09f00d9a9cf0fca532330b9e223de4665a84035d.zip
gdb-09f00d9a9cf0fca532330b9e223de4665a84035d.tar.gz
gdb-09f00d9a9cf0fca532330b9e223de4665a84035d.tar.bz2
* gdb.base/find.exp: Set newline variable
using quotes instead of braces to fix cygwin failures.
Diffstat (limited to 'gdb/testsuite/gdb.base/find.exp')
-rw-r--r--gdb/testsuite/gdb.base/find.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp
index 3f229ae..748827d 100644
--- a/gdb/testsuite/gdb.base/find.exp
+++ b/gdb/testsuite/gdb.base/find.exp
@@ -54,7 +54,7 @@ gdb_expect {
set hex_number {0x[0-9a-fA-F][0-9a-fA-F]*}
set history_prefix {[$][0-9]* = }
-set newline {[\r\n]*}
+set newline "\[\r\n\]*"
set pattern_not_found "${newline}Pattern not found\[.\]"
set one_pattern_found "${newline}1 pattern found\[.\]"
set two_patterns_found "${newline}2 patterns found\[.\]"