summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-08-03 15:06:03 -0700
committerRalph Boehme <slow@samba.org>2020-08-04 06:30:25 +0000
commit12c526f151372fc9a8eac845e0ad92e6e598bd53 (patch)
tree428872220a311d98c2a32d4a978fc95553c35a08
parent23274717563b19684c52f8a909f528f608dafd7c (diff)
downloadsamba-12c526f151372fc9a8eac845e0ad92e6e598bd53.tar.gz
s3: scripts: Selfttest. samba3.blackbox.smbclient_iconv.*
Fix missing 'include' in temporary client smb.conf file. The current temporary generated smb.conf file for the client, "client_cp850_smbconf" doesn't include the normal client smb.conf file "client.conf". This means it's missing the: interfaces = XXXX,YYYY line we needed to find the server via socketwrapper. Currently this test is finding the server by accident :-). Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Aug 4 06:30:25 UTC 2020 on sn-devel-184
-rwxr-xr-xsource3/script/tests/test_smbclient_iconv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/script/tests/test_smbclient_iconv.sh b/source3/script/tests/test_smbclient_iconv.sh
index 0ec7b67dbf7..7a3e927e6a9 100755
--- a/source3/script/tests/test_smbclient_iconv.sh
+++ b/source3/script/tests/test_smbclient_iconv.sh
@@ -26,9 +26,11 @@ failed=0
test_smbclient_iconv()
{
+ normal_smbclient_config="$PREFIX/client/client.conf"
smbclient_config="$PREFIX/client/client_cp850_smbconf"
cat > $smbclient_config <<EOF
[global]
+ include = $normal_smbclient_config
unix charset = cp850
client min protocol = core
EOF