From 15668f2c54d095b872cd06d78adde5a525a583e8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 28 Dec 2018 07:34:47 +0100 Subject: 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(-) (limited to 'tests') 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 -- cgit v1.2.1