From: Simon Marchi Date: Wed, 6 Apr 2016 00:35:42 +0000 (-0400) Subject: Fix IPA detection in ftrace-insn-reloc.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03a8c4dfc295fdebf4dac7a5ee91592e69b404a6;p=binutils-gdb.git Fix IPA detection in ftrace-insn-reloc.exp In commit 6e774b13c3b, I forgot to update this test. gdb/testsuite/ChangeLog: * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of absolute. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 69aea5eca62..222e2f5970a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-04-05 Simon Marchi + + * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of + absolute. + 2016-04-05 Simon Marchi * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of diff --git a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp index de48353db37..b7f7653e0d5 100644 --- a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp +++ b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp @@ -58,7 +58,7 @@ if ![runto_main] { gdb_reinitialize_dir $srcdir/$subdir -if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } { +if { [gdb_test "info sharedlibrary" ".*[file tail ${libipa}].*" "IPA loaded"] != 0 } { untested "Could not find IPA lib loaded" return 1 }