remove bashisms from testsuite

This commit is contained in:
Denis Vlasenko 2007-06-05 22:29:14 +00:00
parent 5c51a7ca52
commit cd0df46d8c

View File

@ -51,7 +51,7 @@ optional()
# The testing function
testing ()
testing()
{
NAME="$1"
[ -z "$1" ] && NAME=$2
@ -97,7 +97,7 @@ testing ()
# the file is assumed to already be there and only its library dependencies
# are copied.
function mkchroot
mkchroot()
{
[ $# -lt 2 ] && return
@ -126,7 +126,7 @@ function mkchroot
# Needed commands listed on command line
# Script fed to stdin.
function dochroot
dochroot()
{
mkdir tmpdir4chroot
mount -t ramfs tmpdir4chroot tmpdir4chroot