diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-05 22:29:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-05 22:29:14 +0000 |
commit | cd0df46d8cb937ef277659ea339a77925c443d3d (patch) | |
tree | 62cdd2cc7335d676472cd5d968f34214fc601aeb | |
parent | 5c51a7ca52beb6958fda45f0de480f6ac1769ec6 (diff) | |
download | busybox-w32-cd0df46d8cb937ef277659ea339a77925c443d3d.tar.gz busybox-w32-cd0df46d8cb937ef277659ea339a77925c443d3d.tar.bz2 busybox-w32-cd0df46d8cb937ef277659ea339a77925c443d3d.zip |
remove bashisms from testsuite
-rwxr-xr-x | testsuite/testing.sh | 6 |
1 files 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() | |||
51 | 51 | ||
52 | # The testing function | 52 | # The testing function |
53 | 53 | ||
54 | testing () | 54 | testing() |
55 | { | 55 | { |
56 | NAME="$1" | 56 | NAME="$1" |
57 | [ -z "$1" ] && NAME=$2 | 57 | [ -z "$1" ] && NAME=$2 |
@@ -97,7 +97,7 @@ testing () | |||
97 | # the file is assumed to already be there and only its library dependencies | 97 | # the file is assumed to already be there and only its library dependencies |
98 | # are copied. | 98 | # are copied. |
99 | 99 | ||
100 | function mkchroot | 100 | mkchroot() |
101 | { | 101 | { |
102 | [ $# -lt 2 ] && return | 102 | [ $# -lt 2 ] && return |
103 | 103 | ||
@@ -126,7 +126,7 @@ function mkchroot | |||
126 | # Needed commands listed on command line | 126 | # Needed commands listed on command line |
127 | # Script fed to stdin. | 127 | # Script fed to stdin. |
128 | 128 | ||
129 | function dochroot | 129 | dochroot() |
130 | { | 130 | { |
131 | mkdir tmpdir4chroot | 131 | mkdir tmpdir4chroot |
132 | mount -t ramfs tmpdir4chroot tmpdir4chroot | 132 | mount -t ramfs tmpdir4chroot tmpdir4chroot |