Jim Meyering <[EMAIL PROTECTED]> wrote:
> I discovered that Solaris 11's /bin/sh exhibits the following
> surprising behavior:
>
>     $ /bin/sh -c 'umask 22; (umask 0); umask'
>     0000
>
> That would cause test failures in coreutils, because gl_POSIX_SHELL
> accepted /bin/sh.  The following change is enough to make
> gl_POSIX_SHELL reject that shell and instead use /bin/bash, which
> is also provided:
>
>       posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)
>       * m4/posix-shell.m4 (gl_POSIX_SHELL): Reject a shell that
>       lets a umask modification leak out of a subshell.  Otherwise,
>       Solaris 11's /bin/sh would be accepted and thus cause unwarranted
>       failures in coreutils test suite.

I've pushed that change.


Reply via email to