diff mbox

[commit,testsuite] Fix py-shared.exp file name comparison with "remote:" sysroot

Message ID 201110111932.p9BJWYJR002612@d06av02.portsmouth.uk.ibm.com
State Accepted
Headers show

Commit Message

Ulrich Weigand Oct. 11, 2011, 7:32 p.m. UTC
http://sourceware.org/ml/gdb-patches/2011-10/msg00326.html

ChangeLog:

	* gdb.python/py-shared.exp: Relax filename check to handle remote:
	sysroot.
diff mbox

Patch

Index: gdb/testsuite/gdb.python/py-shared.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.python/py-shared.exp,v
retrieving revision 1.4
diff -u -p -r1.4 py-shared.exp
--- gdb/testsuite/gdb.python/py-shared.exp	22 Jul 2011 17:45:16 -0000	1.4
+++ gdb/testsuite/gdb.python/py-shared.exp	11 Oct 2011 18:53:22 -0000
@@ -62,7 +62,7 @@  runto [gdb_get_line_number "Break to end
 # Test gdb.solib_name
 gdb_test "p &func1" "" "func1 address"
 gdb_py_test_silent_cmd "python func1 = gdb.history(0)" "Aquire func1 address" 1
-gdb_test "python print gdb.solib_name(long(func1))" "gdb/testsuite/gdb.python/py-shared-sl.sl" "test func1 solib location"
+gdb_test "python print gdb.solib_name(long(func1))" "py-shared-sl.sl" "test func1 solib location"
 
 gdb_test "p &main" "" "main address"
 gdb_py_test_silent_cmd "python main = gdb.history(0)" "Aquire main address" 1