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:
parent
dd2fad01fd
commit
2977c659ea
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user