[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-798-g88d2060
Andrew Tridgell
tridge at samba.org
Tue Aug 4 19:44:54 MDT 2009
The branch, master has been updated
via 88d206070df8e6f1b9190390ddb13a600b1178e0 (commit)
from 58e5e1ea8d4c5a9eb8d36aa8132fd1ba3985ca53 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 88d206070df8e6f1b9190390ddb13a600b1178e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Aug 5 11:32:01 2009 +1000
skip the readbraw tests if the server does not support it
This allows the RAW-READ test to pass against w2k8
-----------------------------------------------------------------------
Summary of changes:
source4/torture/raw/read.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c
index 977ac6b..4fd2cf5 100644
--- a/source4/torture/raw/read.c
+++ b/source4/torture/raw/read.c
@@ -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)) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list