Add solaris workaround for tests

/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX
shell on Solaris.
This commit is contained in:
Tollef Fog Heen 2005-08-22 10:41:08 +00:00
parent 924949891f
commit 145dba778d
5 changed files with 25 additions and 0 deletions

View file

@ -1,5 +1,10 @@
#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common

View file

@ -1,5 +1,10 @@
#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common

View file

@ -1,5 +1,10 @@
#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common

View file

@ -1,5 +1,10 @@
#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common

View file

@ -1,5 +1,10 @@
#! /bin/sh
# Do the Solaris Dance:
if [ ! -d ~root ] ; then
exec /usr/xpg4/bin/sh $0 "$@"
fi
set -e
. ${srcdir}/common