From f442dc426b0346e1e413a7c3ae5b07725837135c Mon Sep 17 00:00:00 2001 From: "Rick.Yang" Date: Sun, 11 Nov 2012 10:05:50 +0100 Subject: [PATCH] Fix the failed test case. Description: Fixed failing test case In fact, the test case is passing, but the output does not completely match the expected pattern in some special case. Modified the pattern to resolve it. Signed-off-by: Rick.Yang Signed-off-by: Ciprian Barbu --- gdb/testsuite/gdb.base/attach.exp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -285,7 +285,7 @@ proc do_attach_tests {} { gdb_test "dir ${objdir}/${subdir}" "Source directories searched: .*" \ "set source path" - gdb_test "cd /tmp" "Working directory /tmp." \ + gdb_test "cd /tmp" "Working directory /tmp.*" \ "cd away from process working directory" # Explicitly flush out any knowledge of the previous attachment. -- 1.7.5.4