testsuite/du/du-k-works: fix false positive
authorKang Kai <kai.kang@windriver.com>
Mon, 28 Jan 2013 13:02:51 +0000 (14:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 28 Jan 2013 13:02:51 +0000 (14:02 +0100)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/du/du-k-works

index 36dcaa85da65cb788c53c4a47ac9c350d1368194..417b0daa52c6208447991b68230f6be5fee28bfe 100644 (file)
@@ -2,6 +2,10 @@ mkdir du.testdir
 cd du.testdir
 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
 test x"`busybox du -k .`" = x"80       ." \
+  -o x"`busybox du -k .`" = x"81       ." \
+  -o x"`busybox du -k .`" = x"83       ." \
   -o x"`busybox du -k .`" = x"84       ." \
   -o x"`busybox du -k .`" = x"88       ."