summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2015-12-24 16:02:55 +0100
committerJames Youngman <jay@gnu.org>2015-12-24 18:25:53 +0000
commita6a525cdb26146ccf75595024986df90e464c51e (patch)
tree8de18e2e7e7fdbeafef05ecfa4787a86ede1854a
parent9faa72296a119034e94ab5dcb0c7e59cd41844c1 (diff)
downloadfindutils-a6a525cdb26146ccf75595024986df90e464c51e.tar.gz
Fix bashism ([[ ... ]] instead of [ ... ]).
* find/testsuite/test_escape_c.sh: Use [...] instead of [[...]].
-rwxr-xr-xfind/testsuite/test_escape_c.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/find/testsuite/test_escape_c.sh b/find/testsuite/test_escape_c.sh
index 76ede349..9794a867 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}"