diff options
Diffstat (limited to 'testsuite/busybox.tests')
-rwxr-xr-x | testsuite/busybox.tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/busybox.tests b/testsuite/busybox.tests index a671fa082..2ce09b281 100755 --- a/testsuite/busybox.tests +++ b/testsuite/busybox.tests | |||
@@ -7,7 +7,7 @@ | |||
7 | . ./testing.sh | 7 | . ./testing.sh |
8 | test -f "$bindir/.config" && . "$bindir/.config" | 8 | test -f "$bindir/.config" && . "$bindir/.config" |
9 | 9 | ||
10 | if [ -f $bindir/busybox.exe ]; then | 10 | if [ -f "$bindir/busybox.exe" ]; then |
11 | # Copy rather than link busybox.exe: we can only make hard | 11 | # Copy rather than link busybox.exe: we can only make hard |
12 | # links which can't be deleted because Windows sees the | 12 | # links which can't be deleted because Windows sees the |
13 | # executable as running. | 13 | # executable as running. |
@@ -18,7 +18,7 @@ else | |||
18 | lncmd="ln -s" | 18 | lncmd="ln -s" |
19 | fi | 19 | fi |
20 | 20 | ||
21 | $lncmd `which busybox` unknown$suffix | 21 | $lncmd "$(which busybox)" unknown$suffix |
22 | 22 | ||
23 | testing "busybox as unknown name" "./unknown 2>&1" \ | 23 | testing "busybox as unknown name" "./unknown 2>&1" \ |
24 | "unknown: applet not found\n" "" "" | 24 | "unknown: applet not found\n" "" "" |
@@ -34,7 +34,7 @@ optional FEATURE_VERBOSE_USAGE | |||
34 | testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n" "" "" | 34 | testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n" "" "" |
35 | SKIP= | 35 | SKIP= |
36 | 36 | ||
37 | $lncmd `which busybox` busybox-suffix$suffix | 37 | $lncmd "$(which busybox)" busybox-suffix$suffix |
38 | for i in busybox ./busybox-suffix | 38 | for i in busybox ./busybox-suffix |
39 | do | 39 | do |
40 | testing "$i" "$i 2>&1 | cat" "$HELPDUMP\n" "" "" | 40 | testing "$i" "$i 2>&1 | cat" "$HELPDUMP\n" "" "" |