Fix two objdump tests for remote-host testing

Joseph S. Myers joseph@codesourcery.com
Wed Mar 11 18:47:00 GMT 2009


This patch fixes two objdump tests to work in remote-host testing,
where the differences in how file names are handled and files copied
to/from remote hosts mean that the file name appears in the objdump
output without the initial "tmpdir/".  OK to commit?

2009-03-11  Joseph Myers  <joseph@codesourcery.com>

	* binutils-all/objdump.W, binutils-all/objdump.s: Don't match
	literal "tmpdir/" in expected output.

Index: binutils/testsuite/binutils-all/objdump.W
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objdump.W,v
retrieving revision 1.4
diff -u -r1.4 objdump.W
--- binutils/testsuite/binutils-all/objdump.W	29 Jan 2009 09:03:13 -0000	1.4
+++ binutils/testsuite/binutils-all/objdump.W	11 Mar 2009 18:44:56 -0000
@@ -1,5 +1,5 @@
 
-tmpdir/dw2-compressed.o:     file format .*
+.*dw2-compressed.o:     file format .*
 
 Contents of the .debug_info section:
 
Index: binutils/testsuite/binutils-all/objdump.s
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objdump.s,v
retrieving revision 1.1
diff -u -r1.1 objdump.s
--- binutils/testsuite/binutils-all/objdump.s	10 Jul 2008 01:32:23 -0000	1.1
+++ binutils/testsuite/binutils-all/objdump.s	11 Mar 2009 18:44:56 -0000
@@ -1,5 +1,5 @@
 
-tmpdir/dw2-compressed.o:     file format .*
+.*dw2-compressed.o:     file format .*
 
 Contents of section .zdebug_abbrev:
  0000 5a4c4942 00000000 00000033 785e6314  ZLIB.......3x\^c.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list