summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/gdb-ptest-attach.patch
blob: b95ac2c1636c06ae04857d62287ad75e5856031d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From f442dc426b0346e1e413a7c3ae5b07725837135c Mon Sep 17 00:00:00 2001
From: "Rick.Yang" <rick.yang@enea.com>
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 <rick.yang@enea.com>
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
---
 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