generic-poky/meta/recipes-core/busybox/busybox-1.21.1/testsuite-du-du-k-works-fix-false-positive.patch
Chen Qi 131e5e7e8f busybox: upgrade to stable 1.21.1
Merged or backported patches are dropped.
The wget_dl_dir_fix.patch was submitted more than 1 year ago, it's
about the -P option behavior, and it's not accepted, so I dropped
this patch too.

(From OE-Core rev: a2f31a6a6accb8eee2084cb39edb8e9af4b4189f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:44:13 +01:00

36 lines
1.1 KiB
Diff

Upstream-Status: Accepted
[Yocto 2896]
Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
From 03b614739b923994ff0bef74622973ad18fefebd Mon Sep 17 00:00:00 2001
From: Kang Kai <kai.kang@windriver.com>
Date: Mon, 28 Jan 2013 14:02:51 +0100
Subject: [PATCH] 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>
---
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 36dcaa8..417b0da 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 ."
--
1.7.5.4