diff options
author | Andreas Metzler <ametzler@bebt.de> | 2015-12-24 16:02:55 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2015-12-24 18:25:53 +0000 |
commit | a6a525cdb26146ccf75595024986df90e464c51e (patch) | |
tree | 8de18e2e7e7fdbeafef05ecfa4787a86ede1854a | |
parent | 9faa72296a119034e94ab5dcb0c7e59cd41844c1 (diff) | |
download | findutils-a6a525cdb26146ccf75595024986df90e464c51e.tar.gz |
Fix bashism ([[ ... ]] instead of [ ... ]).
* find/testsuite/test_escape_c.sh: Use [...] instead of [[...]].
-rwxr-xr-x | find/testsuite/test_escape_c.sh | 2 |
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}" |