summaryrefslogtreecommitdiff
path: root/testsuite/du/du-works
blob: e320f1dd088113dabce5fff615b594523dddcb34 (plain)
1
2
3
4
5
6
7
8
# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K

d=/bin
du "$d" > logfile.gnu
busybox du "$d" > logfile.bb
cmp logfile.gnu logfile.bb && exit 0
diff -u logfile.gnu logfile.bb
exit 1