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

s4 torture: RAW-WRITE should check lockread_supported

Signed-off-by: Tim Prouty <tprouty@samba.org>
This commit is contained in:
Zachary Loafman 2009-11-18 00:21:44 +00:00 committed by Tim Prouty
parent dd2fad01fd
commit 2977c659ea

View File

@ -243,6 +243,11 @@ static bool test_writex(struct torture_context *tctx,
buf = talloc_zero_array(tctx, uint8_t, maxsize);
if (!cli->transport->negotiate.lockread_supported) {
printf("Server does not support writeunlock - skipping\n");
return true;
}
if (!torture_setup_dir(cli, BASEDIR)) {
return false;
}