Magellan Linux

Diff of /tags/mkinitrd-6_3_1/busybox/testsuite/busybox.tests

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 984 by niro, Sun May 30 11:32:42 2010 UTC revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC
# Line 10  HELPDUMP=`true | busybox 2>&1 | cat` Line 10  HELPDUMP=`true | busybox 2>&1 | cat`
10    
11  # We need to test under calling the binary under other names.  # We need to test under calling the binary under other names.
12    
13    optional FEATURE_VERBOSE_USAGE
14  testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" ""  testing "busybox --help busybox" "true | busybox --help busybox 2>&1 | cat" "$HELPDUMP\n\n" "" ""
15    SKIP=
16    
17  ln -s `which busybox` busybox-suffix  ln -s `which busybox` busybox-suffix
18  for i in busybox ./busybox-suffix  for i in busybox ./busybox-suffix
# Line 26  do Line 27  do
27    
28   testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" ""   testing "$i --help" "$i --help 2>&1" "$HELPDUMP\n\n" "" ""
29    
30   optional CAT   optional FEATURE_VERBOSE_USAGE CAT
31   testing "" "$i cat" "moo" "" "moo"   testing "" "$i cat" "moo" "" "moo"
32   testing "$i --help cat" "$i --help cat 2>&1 | grep print" \   testing "$i --help cat" "$i --help cat 2>&1 | grep print" \
33   "Concatenate FILEs and print them to stdout\n" "" ""   "Concatenate FILEs and print them to stdout\n" "" ""
34   optional ""   SKIP=
35    
36   testing "$i --help unknown" "$i --help unknown 2>&1" \   testing "$i --help unknown" "$i --help unknown 2>&1" \
37   "unknown: applet not found\n" "" ""   "unknown: applet not found\n" "" ""

Legend:
Removed from v.984  
changed lines
  Added in v.1123