summaryrefslogtreecommitdiffhomepage
path: root/testsuite/du/du-s-works
blob: 534432cb0faee52096c99461d3eb49ed472f199a (plain)
1
2
3
4
5
6
7
8
# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K

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