From: Denis Vlasenko Date: Tue, 5 Jun 2007 22:29:14 +0000 (-0000) Subject: remove bashisms from testsuite X-Git-Tag: 1_7_0~280 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd0df46d8cb937ef277659ea339a77925c443d3d;p=oweals%2Fbusybox.git remove bashisms from testsuite --- diff --git a/testsuite/testing.sh b/testsuite/testing.sh index e253e1aa6..01fdfbeca 100755 --- a/testsuite/testing.sh +++ b/testsuite/testing.sh @@ -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