From 039b9bd0e3ab6e02cd9709d213f1abf32dbd13f0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 22 Feb 2011 00:31:56 -0500 Subject: [PATCH] Use %s with printf in test.sh --- test/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.sh b/test/test.sh index 6460306f..08a4cddb 100755 --- a/test/test.sh +++ b/test/test.sh @@ -9,9 +9,9 @@ fi # /bin/echo is a little more likely to support -n than sh's builtin echo, # printf is even more likely -if test "`printf hello 2>&1`" = "hello" +if test "`printf %s hello 2>&1`" = "hello" then - ECHO_N="printf" + ECHO_N="printf %s" else if test -x /bin/echo then -- 2.50.1