1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3: torture: Add test for getting attibutes on an MSDFS link.

Mark as knownfail for now.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14391

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2020-06-01 13:45:28 -07:00 committed by Ralph Boehme
parent 84134812e3
commit 2a4705129d
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,3 @@
samba3.smbtorture_s3.smb2.MSDFS-ATTRIBUTE
samba3.smbtorture_s3.smb1.MSDFS-ATTRIBUTE

View File

@ -172,6 +172,33 @@ plantestsuite("samba3.smbtorture_s3.hidenewfiles(fileserver_smb1)",
"", "",
"-l $LOCAL_PATH"]) "-l $LOCAL_PATH"])
#
# MSDFS attribute tests.
#
plantestsuite("samba3.smbtorture_s3.smb2.MSDFS-ATTRIBUTE",
"fileserver",
[os.path.join(samba3srcdir,
"script/tests/test_smbtorture_s3.sh"),
'MSDFS-ATTRIBUTE',
'//$SERVER_IP/msdfs-share',
'$USERNAME',
'$PASSWORD',
smbtorture3,
"-mSMB2",
"-f msdfs-src1"])
plantestsuite("samba3.smbtorture_s3.smb1.MSDFS-ATTRIBUTE",
"fileserver_smb1",
[os.path.join(samba3srcdir,
"script/tests/test_smbtorture_s3.sh"),
'MSDFS-ATTRIBUTE',
'//$SERVER_IP/msdfs-share',
'$USERNAME',
'$PASSWORD',
smbtorture3,
"-mNT1",
"-f msdfs-src1"])
shares = [ shares = [
"vfs_aio_pthread_async_dosmode_default1", "vfs_aio_pthread_async_dosmode_default1",
"vfs_aio_pthread_async_dosmode_default2", "vfs_aio_pthread_async_dosmode_default2",