diff options
author | Kang Kai <kai.kang@windriver.com> | 2013-01-28 14:02:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-28 14:02:51 +0100 |
commit | 03b614739b923994ff0bef74622973ad18fefebd (patch) | |
tree | d1d4ebf3e8b978b46f7c210137cd07eac7596a0c | |
parent | 6be6f3bfecf436b03fe9b84b2aedbe8c938a8996 (diff) | |
download | busybox-03b614739b923994ff0bef74622973ad18fefebd.tar.gz |
testsuite/du/du-k-works: fix false positive
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | testsuite/du/du-k-works | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works index 36dcaa85d..417b0daa5 100644 --- a/testsuite/du/du-k-works +++ b/testsuite/du/du-k-works @@ -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 ." |