aboutsummaryrefslogtreecommitdiff
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-works12
1 files changed, 8 insertions, 4 deletions
diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works
index c3d2ec0c1..6b150e0dd 100644
--- a/testsuite/du/du-l-works
+++ b/testsuite/du/du-l-works
@@ -1,4 +1,8 @@
1d=/bin 1# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
2du -l "$d" > logfile.gnu 2
3busybox du -l "$d" > logfile.bb 3dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
4cmp logfile.gnu logfile.bb 4ln file1 file1.1
5dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
6test x"`busybox du -l .`" = x"144 ." \
7 -o x"`busybox du -l .`" = x"148 ." \
8 -o x"`busybox du -l .`" = x"152 ." \