[PATCH] Testsuite tweak for Solaris

Eric Botcazou ebotcazou@libertysurf.fr
Mon Jan 3 10:14:00 GMT 2005


Hi,

Solaris' false doesn't return 1 on exit:

"DESCRIPTION
     The true utility does nothing, successfully. The false util-
     ity does nothing, unsuccessfully. They are typically used in
     a shell script sh as:

     while true
     do
                 command
     done

     which executes command forever.

EXIT STATUS
     true has exit status  0.

     false always will exit with a non-zero value."


May I install the attached patch?


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

	* testsuite/libjava.lang/Process_4.java (Process_4): Expect only
	a non-zero exit status from 'false'.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava_process4.diff
Type: text/x-diff
Size: 641 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050103/d7f92336/attachment.bin>


More information about the Java-patches mailing list