------- Comment #4 from rob1weld at aol dot com  2009-02-15 20:09 -------
(In reply to comment #2)
> This sounds like you should be using $CONFIG_SHELL when invoking
> contrib/test_summary .  Not really a bug with the script since it works with a
> real POSIX sh.  Sun should get their head out of the ground when it comes to a
> POSIX /bin/sh really.
> 

For Future Reference:

SunOS 5.11          Last change: 14 Jan 2004                    3
Standards, Environments, and Macros                  standards(5)

     An application that wants to use standard-conforming  utili-
     tues  must  set  the PATH (sh(1) or ksh(1)) or path (csh(1))
     environment variable to specify the directories listed below
     in the order specified to get the appropriate utilities:

     SVID3, XPG3

             1.   /usr/ccs/bin

             2.   /usr/bin

             3.   directory containing binaries for your compiler

             4.   other directories containing binaries needed by
                  the application

     POSIX.2, POSIX.2a, SUS, SUSv2, XPG4

             1.   /usr/xpg4/bin

             2.   /usr/ccs/bin

             3.   /usr/bin

             4.   directory containing binaries for your compiler

             5.   other directories containing binaries needed by
                  the application

     POSIX.1-2001, SUSv3

             1.   /usr/xpg6/bin

             2.   /usr/xpg4/bin

             3.   /usr/ccs/bin

             4.   /usr/bin

             5.   directory containing binaries for your compiler

             6.   other directories containing binaries needed by
                  the application

     When an application uses execlp() or execvp() (see  exec(2))
     to  execute a shell file, or uses system(3C), the shell used
     to interpret the shell file depends on the standard to which
     the caller conforms:

                      Standard                        Shell Used
     ______________________________________________________________
     1989 ANSI  C,  1990  ISO  C,  1999  ISO  C,   /usr/xpg4/bin/sh
     POSIX.1  (1990-2001),  SUS,  SUSv2,  SUSv3,
     XPG4
     POSIX.1 (1988), SVID3,  XPG3,  no  standard   /usr/bin/sh
     specified


     Solaris 10 supports IEEE Std 1003.1  and  IEEE  Std  1003.2,
     commonly  known  as  POSIX.1  and POSIX.2, respectively. The
     following table lists each version of these standards with a
     brief  description  and  the  SunOS  or Solaris release that
     first conformed to it.

    POSIX Standard              Description                Release
     ________________________________________________________________
     POSIX.2a-1992    interactive shell and utilities     Solaris 2.5
     ________________________________________________________________
     POSIX.1-2001     POSIX.1-1990,      POSIX.1b-1993,   Solaris 10
                      POSIX.1c-1996,  POSIX.2-1992, and
                      POSIX.2a-1992 updates

     Solaris 10 also  supports  the  X/Open  Common  Applications
     Environment (CAE) Portability Guide Issue 3 (XPG3) and Issue
     4 (XPG4); Single UNIX  Specification  (SUS,  also  known  as
     XPG4v2);  Single  UNIX Specification, Version 2 (SUSv2); and
     Single UNIX Specification, Version 3 (SUSv3). Both XPG4  and
     SUS  include  Networking  Services  Issue  4  (XNS4).  SUSv2
     includes Networking Services Issue 5 (XNS5).

Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38739

Reply via email to