From 09f00d9a9cf0fca532330b9e223de4665a84035d Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 27 Jan 2009 08:22:23 +0000 Subject: [PATCH] * gdb.base/find.exp: Set newline variable using quotes instead of braces to fix cygwin failures. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/find.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4e60fa04549..23dd304e5b2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-01-27 Pierre Muller + + * gdb.base/find.exp: Set newline variable + using quotes instead of braces to fix cygwin failures. + 2009-01-23 Pedro Alves * gdb.base/radix.exp: Add tests to ensure that that set diff --git a/gdb/testsuite/gdb.base/find.exp b/gdb/testsuite/gdb.base/find.exp index 3f229ae1390..748827dff7e 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\[.\]" -- 2.30.2