|
From: | Matthew Woehlke |
Subject: | Re: New module posix-shell |
Date: | Fri, 16 Nov 2007 13:01:45 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0 |
Paul Eggert wrote:
This is another module I'm finding useful when converting coreutils "make check" to run on Solaris. The coreutils tests now assume features of the POSIX shell but they use /bin/sh which (on Solaris) is still missing important POSIX features like shell functions. Luckily, Solaris has shipped with good-enough shells for quite some time (/bin/bash is part of Solaris 8, for example) so this is not hard to work around if the right info is available.
I've always wondered WTF Solaris is thinking that even in Solaris 10, /bin/sh is not POSIX-compliant :-).
That said, the "POSIX shell" on Solaris is usually named /usr/xpg4/bin/sh - maybe that should be in the list of shells to check?
(My Solaris 2.7 system, which is my Solaris porting target for as long as we still support, build on, etc, 2.7 also has /bin/bash, however.)
-- Matthew "Doggy!" -- Robots from Freefall (http://freefall.purrsia.com)
[Prev in Thread] | Current Thread | [Next in Thread] |