du-works 184 B

12345678
  1. # FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
  2. d=/bin
  3. du "$d" > logfile.gnu
  4. busybox du "$d" > logfile.bb
  5. cmp logfile.gnu logfile.bb && exit 0
  6. diff -u logfile.gnu logfile.bb
  7. exit 1