aboutsummaryrefslogtreecommitdiff
path: root/testsuite/du/du-k-works
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-12-20 02:55:16 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-12-20 02:55:16 +0100
commite85e260e4720cd8f652c19b4df3e6901c02b9169 (patch)
tree4e315b3a483b3e36ae1f4e7a5189f17e616e88c0 /testsuite/du/du-k-works
parentc9d87bed8ed6aa6b3fcad255d93dbfd2561eac1d (diff)
downloadbusybox-e85e260e4720cd8f652c19b4df3e6901c02b9169.tar.gz
testsuite: fix false positives for du
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/du/du-k-works')
-rw-r--r--testsuite/du/du-k-works2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
index 417b0daa5..213e9ba99 100644
--- a/testsuite/du/du-k-works
+++ b/testsuite/du/du-k-works
@@ -4,8 +4,10 @@ dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
# ext4 on images <512M gives 81kb
# ext3 on images <512M gives 83kb
+# a bsd system reportedly gives 82kb
test x"`busybox du -k .`" = x"80 ." \
-o x"`busybox du -k .`" = x"81 ." \
+ -o x"`busybox du -k .`" = x"82 ." \
-o x"`busybox du -k .`" = x"83 ." \
-o x"`busybox du -k .`" = x"84 ." \
-o x"`busybox du -k .`" = x"88 ."