summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-06-13 16:07:21 +0200
committerPavel Filipensky <pfilipensky@samba.org>2022-08-22 20:35:36 +0000
commit355f620653fdc377673fde146e369c243bc9098f (patch)
tree0a74661fee352c715e222459bdbe9312a6c68139 /testprogs
parentcd24e2dfb792d261814d88517eb893cb8d50ab75 (diff)
downloadsamba-355f620653fdc377673fde146e369c243bc9098f.tar.gz
testprogs: Fix shellcheck errors in test_weak_crypto_server.sh
testprogs/blackbox/test_weak_crypto_server.sh:59:65: 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>
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_weak_crypto_server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/test_weak_crypto_server.sh b/testprogs/blackbox/test_weak_crypto_server.sh
index 8bcd7cbc680..e2b4660577f 100755
--- a/testprogs/blackbox/test_weak_crypto_server.sh
+++ b/testprogs/blackbox/test_weak_crypto_server.sh
@@ -56,7 +56,7 @@ unset GNUTLS_FORCE_FIPS_MODE
testit "testparm-weak-crypto" test_weak_crypto_allowed || failed=$(expr $failed + 1)
# We should not be allowed to use NTLM for connecting
-testit_expect_failure "rpclient.ntlm" $samba_rpcclient ncacn_np:$SERVER_IP[ntlm] -U$USERNAME%$PASSWORD -c "getusername" && failed=$(expr $failed + 1)
+testit_expect_failure "rpclient.ntlm" $samba_rpcclient ncacn_np:${SERVER_IP}[ntlm] -U$USERNAME%$PASSWORD -c "getusername" && failed=$(expr $failed + 1)
GNUTLS_FORCE_FIPS_MODE=1
export GNUTLS_FORCE_FIPS_MODE