1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s3:script: Fix shellcheck errors in test_net_registry_roundtrip.sh

source3/script/tests/test_net_registry_roundtrip.sh:51:2: error: Double
quote array expansions to avoid re-splitting elements. [SC2068]

source3/script/tests/test_net_registry_roundtrip.sh:55:16: error:
Argument mixes string and array. Use * or separate argument. [SC2145]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
Andreas Schneider 2022-03-03 15:25:14 +01:00 committed by Pavel Filipensky
parent 6f65ecfe5a
commit 4edb4d979b

View File

@ -48,11 +48,11 @@ REGPATH="HKLM\Software\Samba"
conf_roundtrip_step()
{
echo "CMD: $*" >>$LOG
$@ 2>>$LOG
"$@" 2>>$LOG
RC=$?
echo "RC: $RC" >>$LOG
test "x$RC" = "x0" || {
echo "ERROR: $@ failed (RC=$RC)" | tee -a $LOG
echo "ERROR: $* failed (RC=$RC)" | tee -a $LOG
}
return $RC
# echo -n .