Solaris fixes for a few tests
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Oct 18 15:16:24 CDT 2006
On 2006-10-18 20:41, Thomas Arendsen Hein <thomas at intevation.de> wrote:
> * Danek Duvall <danek.duvall at sun.com> [20061018 19:45]:
> > Solaris' /bin/sh doesn't understand the "-e" test, but /bin/test does.
>
> Thanks, test seem to run (not finished yet) fine on Solaris8 now,
> but I don't have /bin/test (only /usr/bin/test) on Debian GNU/Linux.
Solaris and BSD use `/bin/test'. Probably because /usr may not be
available early enough during boot-time to access `/usr/bin/test'.
Do the tests work better without an explicit path, i.e. like this?
if test -e foo ; then
foosuccess
fi
- Giorgos
More information about the Mercurial-devel
mailing list