summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch b/meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch
new file mode 100644
index 0000000000..b75eaacd29
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.20.2/fix-for-spurious-testsuite-failure.patch
@@ -0,0 +1,27 @@
1Backport the patch from:
2http://git.busybox.net/busybox/commit/?id=a5ee090e8651692545514a81a16c6cde3a2dc577
3
4From a5ee090e8651692545514a81a16c6cde3a2dc577 Mon Sep 17 00:00:00 2001
5From: Denys Vlasenko <vda.linux@googlemail.com>
6Date: Thu, 10 May 2012 19:26:37 +0200
7Subject: [PATCH] fix for spurious testsuite failure
8
9Upstream-Status: Backport
10Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
11---
12 testsuite/du/du-k-works | 1 +
13 1 files changed, 1 insertions(+), 0 deletions(-)
14
15diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
16index 229a948..36dcaa8 100644
17--- a/testsuite/du/du-k-works
18+++ b/testsuite/du/du-k-works
19@@ -3,4 +3,5 @@ cd du.testdir
20 dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
21 dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
22 test x"`busybox du -k .`" = x"80 ." \
23+ -o x"`busybox du -k .`" = x"84 ." \
24 -o x"`busybox du -k .`" = x"88 ."
25--
261.7.4.1
27