mirror of
https://github.com/sheumann/hush.git
synced 2025-01-04 22:34:37 +00:00
remove bashisms from testsuite
This commit is contained in:
parent
5c51a7ca52
commit
cd0df46d8c
@ -51,7 +51,7 @@ optional()
|
|||||||
|
|
||||||
# The testing function
|
# The testing function
|
||||||
|
|
||||||
testing ()
|
testing()
|
||||||
{
|
{
|
||||||
NAME="$1"
|
NAME="$1"
|
||||||
[ -z "$1" ] && NAME=$2
|
[ -z "$1" ] && NAME=$2
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user