diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-19 18:15:33 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-19 18:15:33 +0200 |
commit | 015db5800ca7c6dd2d201eacb2951e72e6782b30 (patch) | |
tree | 0fe9b90c782f2ac831f30793e384b07bd690b3b3 /testsuite/busybox.tests | |
parent | ce824aecf216536beed00d7817a614ffb8572239 (diff) | |
download | busybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.tar.gz busybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.tar.bz2 busybox-w32-015db5800ca7c6dd2d201eacb2951e72e6782b30.zip |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/busybox.tests')
-rwxr-xr-x | testsuite/busybox.tests | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/testsuite/busybox.tests b/testsuite/busybox.tests index 04fea3ea2..545cad5c0 100755 --- a/testsuite/busybox.tests +++ b/testsuite/busybox.tests | |||
@@ -6,6 +6,16 @@ | |||
6 | 6 | ||
7 | . ./testing.sh | 7 | . ./testing.sh |
8 | 8 | ||
9 | ln -s `which busybox` unknown | ||
10 | |||
11 | testing "busybox as unknown name" "./unknown 2>&1" \ | ||
12 | "unknown: applet not found\n" "" "" | ||
13 | rm unknown | ||
14 | |||
15 | # We need busybox --help to be enabled for the rest of tests | ||
16 | test x"$CONFIG_BUSYBOX" = x"y" \ | ||
17 | || { echo "SKIPPED: busybox --help"; exit 0; } | ||
18 | |||
9 | HELPDUMP=`true | busybox 2>&1 | cat` | 19 | HELPDUMP=`true | busybox 2>&1 | cat` |
10 | 20 | ||
11 | # We need to test under calling the binary under other names. | 21 | # We need to test under calling the binary under other names. |
@@ -38,10 +48,4 @@ do | |||
38 | done | 48 | done |
39 | rm busybox-suffix | 49 | rm busybox-suffix |
40 | 50 | ||
41 | ln -s `which busybox` unknown | ||
42 | |||
43 | testing "busybox as unknown name" "./unknown 2>&1" \ | ||
44 | "unknown: applet not found\n" "" "" | ||
45 | rm unknown | ||
46 | |||
47 | exit $FAILCOUNT | 51 | exit $FAILCOUNT |