diff options
author | Jeremy Allison <jra@samba.org> | 2020-05-11 15:37:00 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2020-06-04 11:47:47 +0000 |
commit | 290ae67b24eec2a50c937216b92e7294e1e08109 (patch) | |
tree | 7a1b30b20d4deddb3894091e7069df6e1ec3684b /source3/selftest | |
parent | 701cbabc92e3bab2ddf55e8adef2b005ea4ae4c5 (diff) | |
download | samba-290ae67b24eec2a50c937216b92e7294e1e08109.tar.gz |
s3: selftest: Add test_smbclient_iconv.sh to check client behavior on bad name conversion.
SMB2 and NT1 fail this, CORE already returns NT_STATUS_INVALID_NETWORK_RESPONSE
on bad conversion.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14374
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(back-ported from commit e016671d34c24c4768df774425ec743b88e30015)
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index c00e69f61cc..72bca263c0b 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -379,6 +379,12 @@ for env in ["fileserver"]: plantestsuite("samba3.blackbox.timestamps", env, [os.path.join(samba3srcdir, "script/tests/test_timestamps.sh"), '$SERVER_IP', '$USERNAME', '$PASSWORD', '$LOCAL_PATH', smbclient3]) + plantestsuite("samba3.blackbox.smbclient_iconv.SMB2", env, + [os.path.join(samba3srcdir, "script/tests/test_smbclient_iconv.sh"), + '$SERVER', '$SERVER_IP', 'bad_iconv', '$USERNAME', '$PASSWORD', smbclient3]) + plantestsuite("samba3.blackbox.smbclient_iconv.NT1", env, + [os.path.join(samba3srcdir, "script/tests/test_smbclient_iconv.sh"), + '$SERVER', '$SERVER_IP', 'bad_iconv', '$USERNAME', '$PASSWORD', smbclient3, '-mNT1']) # # tar command tests |