diff options
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/write.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index 31cbb98a88..ff82dc19d8 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -573,6 +573,11 @@ static bool test_writeclose(struct torture_context *tctx, buf = talloc_zero_array(tctx, uint8_t, maxsize); + if (!torture_setting_bool(tctx, "writeclose_support", true)) { + printf("Server does not support writeclose - skipping\n"); + return true; + } + if (!torture_setup_dir(cli, BASEDIR)) { return false; } |