This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gas/testsuite tweak on Solaris


Hi,

Solaris' grep doesn't understand [:digit:].

Tested on sparc64-sun-solaris2.9, sparc-sun-solaris2.8 and 
amd64-mandrake-linux-gnu.  It fixes

FAIL: elf section5 list

the only failure in the gas testsuite on the Solaris platforms.


2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:]


-- 
Eric Botcazou
Index: gas/elf/elf.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/elf.exp,v
retrieving revision 1.27
diff -u -r1.27 elf.exp
--- gas/elf/elf.exp	30 Dec 2004 22:41:31 -0000	1.27
+++ gas/elf/elf.exp	5 Jan 2005 09:58:47 -0000
@@ -60,7 +60,7 @@
     run_list_test "section2" "$target_machine" "-al" "-s" ""
     run_dump_test "section3" 
     run_dump_test "section4"
-    run_list_test "section5" "" "-al" "-SW" "| grep \" \\\\.test\\\[\\\[:digit:\\\]\\\]\""
+    run_list_test "section5" "" "-al" "-SW" "| grep \" \\\\.test\\\[0-9\\\]\""
     run_dump_test "symver" 
     run_list_test "type" "" "" "-s" "| grep \"1 \\\[FONT\\\]\""
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]