[PATCH 0/6] extend sparse file tests

David Disseldorp ddiss at samba.org
Tue Sep 2 12:07:14 MDT 2014


This patch-set extends the smbtorture sparse file tests to cover basic
FSCTL_QUERY_ALLOCATED_RANGES and FSCTL_SET_ZERO_DATA requests.

The tests are currently skipped during selftest (smbd and ntvfs) due to
the lack of the FILE_SUPPORTS_SPARSE_FILES capability.

Feedback appreciated.

--

The following changes since commit eee14f775e6f2075729d68fa9598dd99f9b9b05d:

  samba-tool/ldapcmp: update the list of non replicated attributes (2014-09-02 03:49:48 +0200)

are available in the git repository at:

  git://git.samba.org/ddiss/samba.git sparse_gemacht

for you to fetch changes up to 7706bfd67be21b7cfddc787b0074cbb4d10b3c40:

  torture: basic FSCTL_SET_ZERO_DATA tests (2014-09-02 18:16:23 +0200)

----------------------------------------------------------------
David Disseldorp (6):
      torture: test oversize FSCTL_SET_SPARSE request
      torture: split pattern write into helper function
      torture: basic FSCTL_QUERY_ALLOCATED_RANGES test
      torture: malformed FSCTL_QUERY_ALLOCATED_RANGES tests
      torture: add file zero-range checker
      torture: basic FSCTL_SET_ZERO_DATA tests

 source4/torture/smb2/ioctl.c | 610 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 593 insertions(+), 17 deletions(-)


More information about the samba-technical mailing list