Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/testsuite/tail/tail-works

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

revision 532 by niro, Sat Sep 1 22:45:15 2007 UTC revision 816 by niro, Fri Apr 24 18:33:46 2009 UTC
# Line 1  Line 1 
1  [ -n "$d" ] || d=..  $ECHO -ne "abc\ndef\n123\n" >input
2  tail -n 2 "$d/README" > logfile.gnu  $ECHO -ne "def\n123\n" >logfile.ok
3  busybox tail -n 2 "$d/README" > logfile.bb  busybox tail -2 input > logfile.bb
4  cmp logfile.gnu logfile.bb  cmp logfile.ok logfile.bb

Legend:
Removed from v.532  
changed lines
  Added in v.816