mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:selftest: add delay_inject:brl_lock_windows testing
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14113 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Sep 9 15:42:45 UTC 2019 on sn-devel-184
This commit is contained in:
parent
c2503a5c68
commit
2b43ce6704
@ -2272,6 +2272,18 @@ sub provision($$$$$$$$$)
|
|||||||
delay_inject:pread_send = 2000
|
delay_inject:pread_send = 2000
|
||||||
delay_inject:pwrite_send = 2000
|
delay_inject:pwrite_send = 2000
|
||||||
|
|
||||||
|
[brl_delay_inject1]
|
||||||
|
copy = tmp
|
||||||
|
vfs objects = delay_inject
|
||||||
|
delay_inject:brl_lock_windows = 90
|
||||||
|
delay_inject:brl_lock_windows_use_timer = yes
|
||||||
|
|
||||||
|
[brl_delay_inject2]
|
||||||
|
copy = tmp
|
||||||
|
vfs objects = delay_inject
|
||||||
|
delay_inject:brl_lock_windows = 90
|
||||||
|
delay_inject:brl_lock_windows_use_timer = no
|
||||||
|
|
||||||
[delete_readonly]
|
[delete_readonly]
|
||||||
path = $prefix_abs/share
|
path = $prefix_abs/share
|
||||||
delete readonly = yes
|
delete readonly = yes
|
||||||
|
@ -548,6 +548,10 @@ for t in tests:
|
|||||||
plansmbtorture4testsuite(t, env, '//$SERVER/tmp -k no -U$DC_USERNAME@$REALM%$DC_PASSWORD', description='ntlm user@realm')
|
plansmbtorture4testsuite(t, env, '//$SERVER/tmp -k no -U$DC_USERNAME@$REALM%$DC_PASSWORD', description='ntlm user@realm')
|
||||||
elif t == "raw.samba3posixtimedlock" or t == "smb2.samba3misc":
|
elif t == "raw.samba3posixtimedlock" or t == "smb2.samba3misc":
|
||||||
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/nt4_dc/share')
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/nt4_dc/share')
|
||||||
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/brl_delay_inject1 -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/nt4_dc/share',
|
||||||
|
description="brl_delay_inject1")
|
||||||
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/brl_delay_inject2 -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/nt4_dc/share',
|
||||||
|
description="brl_delay_inject2")
|
||||||
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/ad_dc/share')
|
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER_IP/tmpguest -U$USERNAME%$PASSWORD --option=torture:localdir=$SELFTEST_PREFIX/ad_dc/share')
|
||||||
elif t == "raw.chkpath":
|
elif t == "raw.chkpath":
|
||||||
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD')
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD')
|
||||||
|
Loading…
Reference in New Issue
Block a user