[PATCH] smbclient tarmode test suite

David Disseldorp ddiss at suse.de
Mon Oct 28 11:45:15 MDT 2013


As part of GSoC this year, Aurélien worked on improving smbclient's
archival support. Prior to, and alongside his smbclient modifications,
Aurélien wrote a comprehensive test suite covering the archival
functionality offered by smbclient.

This patch set includes all commits covering the test script. It does
not provide the selftest hooks, which will be proposed later along with
the smbclient changes.

@Aurélien: three of these commits have been split from the corresponding
           smbclient changes. I've kept your authorship details and
           added a "[ddiss at samba.org: split...]" change-log comment.

Secondary reviews/pushes welcome.

Cheers, David

--

The following changes since commit 30e5a5c5bfd75303449956553b47b6cc82930291:

  rpc_server: Fix a memleak on error exit (2013-10-28 10:20:35 +0100)

are available in the git repository at:

  git://git.samba.org/ddiss/samba aaptel_gsoc_clitar_tests

for you to fetch changes up to 7ba04cc9109cc501fae1455380edd9848d2b2321:

  test_smbclient_tarmode.pl: depend only on perl v5.10 (2013-10-28 18:28:06 +0100)

----------------------------------------------------------------
Aurélien Aptel (38):
      initial commit of the new tarmode test script.
      test_smbclient_tarmode.pl: add proper argument parsing for configuration.
      test_smbclient_tarmode.pl: improve incremental test
      test_smbclient_tarmode.pl: add test for reset mode
      test_smbclient_tarmode.pl: add test for "newer than" (`N` flag)
      test_smbclient_tarmode.pl: refactored file related function to a File package
      test_smbclient_tarmode.pl: add nested dirs test
      test_smbclient_tarmode.pl: remove unused functions
      test_smbclient_tarmode.pl: add first extraction test
      test_smbclient_tarmode.pl: add option to choose and run a single test
      test_smbclient_tarmode.pl: add tests for X and I.
      test_smbclient_tarmode.pl: add extraction test for I and X.
      test_smbclient_tarmode.pl: add test for creation w/ filelist
      test_smbclient_tarmode.pl: add test for xF
      test_smbclient_tarmode.pl: add a clean option to erase the local path
      test_smbclient_tarmode.pl: add a first simple wildcard test
      test_smbclient_tarmode.pl: add tests for wildcard pattern (cI, cX, cF, xF).
      test_smbclient_tarmode.pl: refactor, cleanup and document in POD
      test_smbclient_tarmode.pl: make script work on older Perl (now only need 5.14)
      test_smbclient_tarmode.pl: disable failing tests for now
      test_smbclient_tarmode.pl: samba 3.6.9 can print a empty attribute string
      test_smbclient_tarmode.pl: add copyright header
      test_smbclient_tarmode.pl: cosmetic changes
      test_smbclient_tarmode.pl: sanitize input, use File::Temp instead of hardcoding temp dir
      test_smbclient_tarmode.pl: let --test run multiple tests
      test_smbclient_tarmode.pl: whitespace
      test_smbclient_tarmode.pl: test interactive command
      test_smbclient_tarmode.pl: add simple wildcard test
      test_smbclient_tarmode.pl: add large file and long path tests
      test_smbclient_tarmode.pl: test regex flag behaviour
      test_smbclient_tarmode.pl: add extraction regex tests, verbose flag
      test_smbclient_tarmode.pl: add test for interactive session
      test_smbclient_tarmode.pl: add subunit output flag
      test_smbclient_tarmode.pl: enable create with exclude tests
      test_smbclient_tarmode.pl: use -n flag for specifiying hostname (was ambiguous with help)
      test_smbclient_tarmode.pl: sanitize $DIR + whitespace
      test_smbclient_tarmode.pl: remove all ./ prefix when dealing with remote files
      test_smbclient_tarmode.pl: depend only on perl v5.10

David Disseldorp (1):
      test_smbclient_tarmode.pl: fix a few minor typos

 source3/script/tests/test_smbclient_tarmode.pl | 1672 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 1672 insertions(+)
 create mode 100755 source3/script/tests/test_smbclient_tarmode.pl



More information about the samba-technical mailing list