blob: bb5f7533ec59edf9cb52f92f7f988e250dfcb261 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From c69feb2fdb755d6db34d0eb0a9e9994386c15e3a Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 14 Nov 2018 15:19:57 +0800
4Subject: [PATCH] du-l-works: fix to use 145 instead of 144
5
664 + 64 + 16 = 144
7144 + size_of_directory >= 145
8So fix to use 145 instead of 144.
9
10Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2018-November/086836.html]
11
12Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13---
14 testsuite/du/du-l-works | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works
18index af87345..575064a 100644
19--- a/testsuite/du/du-l-works
20+++ b/testsuite/du/du-l-works
21@@ -5,7 +5,7 @@ cd du.testdir
22 dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
23 ln file1 file1.1
24 dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
25-test x"`busybox du -l .`" = x"144 ." \
26+test x"`busybox du -l .`" = x"145 ." \
27 -o x"`busybox du -l .`" = x"146 ." \
28 -o x"`busybox du -l .`" = x"148 ." \
29 -o x"`busybox du -l .`" = x"152 ." \
30--
312.7.4
32