mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s4:selftest: Fix shellcheck errors in wintest_net.sh
source4/selftest/win/wintest_net.sh:57: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> Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org> Autobuild-Date(master): Mon Aug 22 15:15:11 UTC 2022 on sn-devel-184
This commit is contained in:
parent
b1e80d02c7
commit
b7a024e4ef
@ -54,7 +54,7 @@ for o in $bind_options; do
|
||||
for t in $net_test; 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user