git.samba.org
/
asn
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa0dfe7
)
s4:selftest: Fix shellcheck errors in wintest_rpc.sh
author
Andreas Schneider
<asn@samba.org>
Mon, 13 Jun 2022 09:27:53 +0000
(11:27 +0200)
committer
Andreas Schneider
<asn@samba.org>
Fri, 15 Jul 2022 13:32:38 +0000
(15:32 +0200)
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>
source4/selftest/win/wintest_rpc.sh
patch
|
blob
|
history
diff --git
a/source4/selftest/win/wintest_rpc.sh
b/source4/selftest/win/wintest_rpc.sh
index 03ac6a8755887ab294c6424ad5be9d6a48444eec..e1b4fe99506c634acb078b143723cadc70ef2761 100755
(executable)
--- a/
source4/selftest/win/wintest_rpc.sh
+++ b/
source4/selftest/win/wintest_rpc.sh
@@
-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