summaryrefslogtreecommitdiff
path: root/testsuite/testing.sh
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-05 22:29:14 +0000
committerDenis Vlasenko2007-06-05 22:29:14 +0000
commitcd0df46d8cb937ef277659ea339a77925c443d3d (patch)
tree62cdd2cc7335d676472cd5d968f34214fc601aeb /testsuite/testing.sh
parent5c51a7ca52beb6958fda45f0de480f6ac1769ec6 (diff)
downloadbusybox-cd0df46d8cb937ef277659ea339a77925c443d3d.zip
busybox-cd0df46d8cb937ef277659ea339a77925c443d3d.tar.gz
remove bashisms from testsuite
Diffstat (limited to 'testsuite/testing.sh')
-rwxr-xr-xtestsuite/testing.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/testing.sh b/testsuite/testing.sh
index e253e1a..01fdfbe 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