Package: diffutils / 1:3.5-3

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