randomtest fixes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-05-11 04:32:04 +02:00
parent bfa1b2e8e8
commit c0211e907b
4 changed files with 7 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ HELPDUMP=`true | busybox 2>&1 | cat`
# We need to test under calling the binary under other names.
optional SHOW_USAGE
optional FEATURE_VERBOSE_USAGE
testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" ""
SKIP=
@@ -27,7 +27,7 @@ do
testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" ""
optional SHOW_USAGE CAT
optional FEATURE_VERBOSE_USAGE CAT
testing "" "$i cat" "moo" "" "moo"
testing "$i --help cat" "$i --help cat 2>&1 | grep print" \
"Concatenate FILEs and print them to stdout\n" "" ""