summaryrefslogtreecommitdiff
path: root/testsuite/du/du-l-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/du/du-l-works')
-rw-r--r--testsuite/du/du-l-works10
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works
index 64dcf87..6b150e0 100644
--- a/testsuite/du/du-l-works
+++ b/testsuite/du/du-l-works
@@ -1,6 +1,8 @@
# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
-d=/bin
-du -l "$d" > logfile.gnu
-busybox du -l "$d" > logfile.bb
-cmp logfile.gnu logfile.bb
+dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
+ln file1 file1.1
+dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
+test x"`busybox du -l .`" = x"144 ." \
+ -o x"`busybox du -l .`" = x"148 ." \
+ -o x"`busybox du -l .`" = x"152 ." \