1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Jelmer Vernooij
96ac1c62ee r20747: Move cifsdd to blackbox section 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
7e6357f213 r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Andrew Tridgell
a57decb96a r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.
2007-10-10 14:18:48 -05:00
Andrew Tridgell
262bee07dc r18569: add really simple testing of the 'simple' ntvfs backend, so we know
when it breaks. It isn't much good as a template for developers to use
unless it works :-)
2007-10-10 14:18:48 -05:00
Rafal Szczesniak
a6c9a01e89 r18017: Separate NET tests out of RPC. This way it's easier to run libnet
tests only for quick checking.

rafal
2007-10-10 14:17:03 -05:00
Jelmer Vernooij
f6e587e706 r16039: Add missing #!, don't rely on bash 2007-10-10 14:08:52 -05:00
Andrew Bartlett
b3212d1fb9 r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
2007-10-10 14:05:36 -05:00
James Peach
cd2f94a658 r13255: New CIFS dd client for use in performance testing. The guts of this is
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.

There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.

Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.

smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
2007-10-10 13:51:39 -05:00
Jelmer Vernooij
861d45beda r13156: Add some tests for smbclient 2007-10-10 13:51:30 -05:00
Andrew Bartlett
a5e7c17c34 r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.

This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'.  This should prevent it
being broken again.

Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.

The js credentials interface now handles the 'set machine account' flag.

New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).

Andrew Bartlett
2007-10-10 13:50:59 -05:00
Jelmer Vernooij
975d8816db r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
2007-10-10 13:47:42 -05:00
Andrew Bartlett
a67b87cb6e r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.

Andrew Bartlett
2007-10-10 13:39:09 -05:00
Andrew Tridgell
519812a9e8 r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again 2007-10-10 13:30:00 -05:00
Andrew Tridgell
af36bc4011 r8525: added two more test targets:
- 'make quicktest' for running only quick tests. Finishes in 20
   seconds or so.

 - 'make valgrindtest' runs smbd under valgrind in a xterm window and
   runs the quick tests. Also disables tls as that slows down valgrind
   too much to be usable
2007-10-10 13:29:35 -05:00