public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas/testsuite tweak on Solaris
@ 2005-01-05 10:06 Eric Botcazou
  2005-01-05 13:31 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Botcazou @ 2005-01-05 10:06 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

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

[-- Attachment #2: gas_elf_grep.diff --]
[-- Type: text/x-diff, Size: 702 bytes --]

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\\\]\""
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gas/testsuite tweak on Solaris
  2005-01-05 10:06 [PATCH] gas/testsuite tweak on Solaris Eric Botcazou
@ 2005-01-05 13:31 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2005-01-05 13:31 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: binutils

Hi Eric,


> 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
> 
> 	* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:]
> 

Approved - please apply.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-05 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 10:06 [PATCH] gas/testsuite tweak on Solaris Eric Botcazou
2005-01-05 13:31 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).