Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/testsuite/busybox.tests
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/testsuite/busybox.tests
r821 r2725 3 3 # Tests for busybox applet itself. 4 4 # Copyright 2005 by Rob Landley <rob@landley.net> 5 # Licensed under GPL v2, see file LICENSE for details.5 # Licensed under GPLv2, see file LICENSE in this source tree. 6 6 7 . testing.sh7 . ./testing.sh 8 8 9 HELPDUMP=` busybox`9 HELPDUMP=`true | busybox 2>&1 | cat` 10 10 11 11 # We need to test under calling the binary under other names. 12 12 13 14 testing "busybox --help busybox" "busybox --help busybox" "$HELPDUMP\n\n" "" "" 13 optional FEATURE_VERBOSE_USAGE 14 testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" "" 15 SKIP= 15 16 16 17 ln -s `which busybox` busybox-suffix … … 27 28 testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" "" 28 29 29 optional CAT30 optional FEATURE_VERBOSE_USAGE CAT 30 31 testing "" "$i cat" "moo" "" "moo" 31 testing "$i --help cat" "$i --help cat 2>&1 | grep print s" \32 "Concatenate s FILE(s) and prints them to stdout.\n" "" ""33 optional ""32 testing "$i --help cat" "$i --help cat 2>&1 | grep print" \ 33 "Concatenate FILEs and print them to stdout\n" "" "" 34 SKIP= 34 35 35 36 testing "$i --help unknown" "$i --help unknown 2>&1" \
Note:
See TracChangeset
for help on using the changeset viewer.