mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
skip the readbraw tests if the server does not support it
This allows the RAW-READ test to pass against w2k8
This commit is contained in:
parent
58e5e1ea8d
commit
88d206070d
@ -622,6 +622,11 @@ static bool test_readbraw(struct torture_context *tctx,
|
||||
const char *test_data = "TEST DATA";
|
||||
uint_t seed = time(NULL);
|
||||
|
||||
if (!cli->transport->negotiate.readbraw_supported) {
|
||||
printf("Server does not support readbraw - skipping\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
buf = talloc_zero_array(tctx, uint8_t, maxsize);
|
||||
|
||||
if (!torture_setup_dir(cli, BASEDIR)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user