1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:selftest: Fix shellcheck errors in wintest_rpc.sh

source4/selftest/win/wintest_rpc.sh:61:27: error: Use braces when
expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet). [SC1087]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
Andreas Schneider 2022-06-13 11:27:53 +02:00 committed by Pavel Filipensky
parent b7a024e4ef
commit 8c1c63aab8

View File

@ -58,7 +58,7 @@ for o in $bind_options; do
test_name="$t on $transport with $o"
$SMBTORTURE_BIN_PATH -U $username%$password \
-W $domain $transport:$server[$o] \
-W $domain ${transport}:${server}[$o] \
$t || on_error "\n$test_name failed."
done
done