Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From c69feb2fdb755d6db34d0eb0a9e9994386c15e3a Mon Sep 17 00:00:00 2001 |
| 2 | From: Chen Qi <Qi.Chen@windriver.com> |
| 3 | Date: Wed, 14 Nov 2018 15:19:57 +0800 |
| 4 | Subject: [PATCH] du-l-works: fix to use 145 instead of 144 |
| 5 | |
| 6 | 64 + 64 + 16 = 144 |
| 7 | 144 + size_of_directory >= 145 |
| 8 | So fix to use 145 instead of 144. |
| 9 | |
| 10 | Upstream-Status: Submitted [http://lists.busybox.net/pipermail/busybox/2018-November/086836.html] |
| 11 | |
| 12 | Signed-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 | |
| 17 | diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works |
| 18 | index 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 | -- |
| 31 | 2.7.4 |
| 32 | |