summaryrefslogtreecommitdiffhomepage
path: root/testsuite/tail/tail-n-works
blob: 27a905f88e63abc62f65691bb345d487622e9943 (plain)
1
2
3
4
[ -n "$d" ] || d=..
tail -n 2 "$d/README" > logfile.gnu
busybox tail -n 2 "$d/README" > logfile.bb
cmp logfile.gnu logfile.bb