1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3:script: Fix shellcheck errors in test_smbclient_s3.sh

source3/script/tests/test_smbclient_s3.sh:270:5: error: Couldn't parse
this test expression. Fix to allow more checks. [SC1073]

source3/script/tests/test_smbclient_s3.sh:270:11: error: Expected test
to end here (don't wrap commands in []/[[]]). Fix any mentioned problems
and try again. [SC1072]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
Andreas Schneider 2022-03-04 12:08:28 +01:00 committed by Pavel Filipensky
parent ae67e068be
commit 47eacce86b

View File

@ -267,7 +267,7 @@ EOF
return 1
fi
if [ cmp $PREFIX/message_out.$$ $tmpfile != 0 ]; then
if cmp $PREFIX/message_out.$$ $tmpfile; then
echo "failed comparison of message from $SERVER"
return 1
fi