>From 5f682c5ae17aa3d1f75df7115eba2f285573e83a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 28 Dec 2018 07:34:47 +0100 Subject: [PATCH] tests: colors: Avoid test failure on AIX 7. * tests/colors: Splice the argument into the printf format string. --- tests/colors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/colors b/tests/colors index f0f6246..3f0139f 100755 --- a/tests/colors +++ b/tests/colors @@ -120,8 +120,8 @@ compare exp out || fail=1 # Before the fix in http://debbugs.gnu.org/22067, # this test would trigger an infinite loop bug. mkfifo fifo -printf '%*s-a' 1000000 > a -printf '%*s-b' 1000000 > b +printf '%1000000s-a' > a +printf '%1000000s-b' > b head -c 10 < fifo > /dev/null & diff --color=always ---presume-output-tty a b > fifo test $? = 141 || fail=1 -- 2.7.4