Fix IPA detection in ftrace-insn-reloc.exp

In commit 6e774b13c3, I forgot to update this test.

gdb/testsuite/ChangeLog:

	* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
	absolute.
This commit is contained in:
Simon Marchi 2016-04-05 20:35:42 -04:00
parent c078c9d954
commit 03a8c4dfc2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
absolute.
2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
* gdb.trace/ftrace-lock.exp: Check for IPA basename instead of

View File

@ -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
}