remove bashisms from testsuite
This commit is contained in:
@@ -97,7 +97,7 @@ testing ()
|
|||||||
# the file is assumed to already be there and only its library dependencies
|
# the file is assumed to already be there and only its library dependencies
|
||||||
# are copied.
|
# are copied.
|
||||||
|
|
||||||
function mkchroot
|
mkchroot()
|
||||||
{
|
{
|
||||||
[ $# -lt 2 ] && return
|
[ $# -lt 2 ] && return
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ function mkchroot
|
|||||||
# Needed commands listed on command line
|
# Needed commands listed on command line
|
||||||
# Script fed to stdin.
|
# Script fed to stdin.
|
||||||
|
|
||||||
function dochroot
|
dochroot()
|
||||||
{
|
{
|
||||||
mkdir tmpdir4chroot
|
mkdir tmpdir4chroot
|
||||||
mount -t ramfs tmpdir4chroot tmpdir4chroot
|
mount -t ramfs tmpdir4chroot tmpdir4chroot
|
||||||
|
Reference in New Issue
Block a user