projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c51a7c
)
remove bashisms from testsuite
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 5 Jun 2007 22:29:14 +0000
(22:29 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 5 Jun 2007 22:29:14 +0000
(22:29 -0000)
testsuite/testing.sh
patch
|
blob
|
history
diff --git
a/testsuite/testing.sh
b/testsuite/testing.sh
index e253e1aa6baffbbb8c1fb0fd8a7a98717697dbb7..01fdfbeca65fd231e14431e8c2c1289f9872c71f 100755
(executable)
--- 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