remove bashisms from testsuite
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 5 Jun 2007 22:29:14 +0000 (22:29 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 5 Jun 2007 22:29:14 +0000 (22:29 -0000)
testsuite/testing.sh

index e253e1aa6baffbbb8c1fb0fd8a7a98717697dbb7..01fdfbeca65fd231e14431e8c2c1289f9872c71f 100755 (executable)
@@ -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