From cd0df46d8cb937ef277659ea339a77925c443d3d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 5 Jun 2007 22:29:14 +0000 Subject: [PATCH] remove bashisms from testsuite --- testsuite/testing.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.25.1