Package: diffutils / 1:3.7-5

01-fix-race-condition-in-colors-test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Subject: Avoid race condition in colors test

--- a/tests/colors
+++ b/tests/colors
@@ -127,6 +127,7 @@
 printf '%1000000s-a' > a
 printf '%1000000s-b' > b
 head -c 10 < fifo > /dev/null &
+sleep 5
 diff --color=always ---presume-output-tty a b > fifo
 test $? = 141 || fail=1