Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] btrace, test: fix gdb.btrace/data test
@ 2014-03-07  8:35 Markus Metzger
  2014-03-07  8:38 ` Jan Kratochvil
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Metzger @ 2014-03-07  8:35 UTC (permalink / raw)
  To: jan.kratochvil; +Cc: gdb-patches

The format of the output changed.  Fix the test.

2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>

testsuite/
	* gdb.btrace/data.exp: Update expected output.


---
 gdb/testsuite/gdb.btrace/data.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.btrace/data.exp b/gdb/testsuite/gdb.btrace/data.exp
index d6bc854..64c5443 100644
--- a/gdb/testsuite/gdb.btrace/data.exp
+++ b/gdb/testsuite/gdb.btrace/data.exp
@@ -37,8 +37,8 @@ gdb_test "next" ".*main\.3.*"
 gdb_test "reverse-step" ".*test\.4.*"
 
 # we can't read memory while we're replaying
-gdb_test "print glob" "Memory at .* unavailable\."
-gdb_test "print loc" "Memory at .* unavailable\."
+gdb_test "print glob" "unavailable\[^\\\r\\\n\]*"
+gdb_test "print loc" "unavailable\[^\\\r\\\n\]*"
 
 # stop replaying and try again
 gdb_test "record goto end"
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrace, test: fix gdb.btrace/data test
  2014-03-07  8:35 [PATCH] btrace, test: fix gdb.btrace/data test Markus Metzger
@ 2014-03-07  8:38 ` Jan Kratochvil
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kratochvil @ 2014-03-07  8:38 UTC (permalink / raw)
  To: Markus Metzger; +Cc: gdb-patches

On Fri, 07 Mar 2014 09:35:48 +0100, Markus Metzger wrote:
> The format of the output changed.  Fix the test.
> 
> 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
> 
> testsuite/
> 	* gdb.btrace/data.exp: Update expected output.

OK.


Thanks,
Jan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-07  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-07  8:35 [PATCH] btrace, test: fix gdb.btrace/data test Markus Metzger
2014-03-07  8:38 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox