busybox/testsuite/head/head-n-works

5 lines
126 B
Plaintext

[ -n "$d" ] || d=..
head -n 2 "$d/README" > logfile.gnu
busybox head -n 2 "$d/README" > logfile.bb
cmp logfile.gnu logfile.bb