From a6a525cdb26146ccf75595024986df90e464c51e Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Thu, 24 Dec 2015 16:02:55 +0100 Subject: [PATCH] Fix bashism ([[ ... ]] instead of [ ... ]). To: address@hidden * find/testsuite/test_escape_c.sh: Use [...] instead of [[...]]. --- find/testsuite/test_escape_c.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/testsuite/test_escape_c.sh b/find/testsuite/test_escape_c.sh index 76ede34..9794a86 100755 --- a/find/testsuite/test_escape_c.sh +++ b/find/testsuite/test_escape_c.sh @@ -28,7 +28,7 @@ do -printf 'hello^\cthere' \ -exec printf %s {} \; \ -printf '^world\n' )"; then - if [[ "${result}" != "${expected}" ]]; then + if [ "${result}" != "${expected}" ]; then exec >&2 echo "$executable produced incorrect output:" echo "${result}" -- 2.1.4