summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
AgeCommit message (Collapse)AuthorFilesLines
2008-06-12Missed these on the last commitJim McDonough1-3/+3
(This used to be commit 0e8f946ed02a6d2d9469f9ccab5f3342b2b80725)
2008-06-12Initial automated wintest.Jim McDonough2-0/+52
Added a blackbox test which looks for $WINTEST_CONF_DIR, gets configuration vars from *.conf in that dir, disables smbwrapper, and runs RAW-OPEN torture test. Scripts are coming to startup/shutdown vm's. (This used to be commit 74a0a9bb54b2583dde7a5fbadd4d10858de12ee7)
2008-05-21subunit.sh: Properly capture and pass on the command output.Andrew Kroeger1-2/+2
Previously, the output from $cmdline was never captured. In case of a failure, there was no output being passed to the subunit_fail_test() function, but that function contains a call to "cat -". This caused the script to hang indefinitely waiting for input. We now capture $cmdline output (including mapping stderr to stdout) using backticks, and then pipe that output to the subunit_fail_test() if there is a failure. (This used to be commit c0234d13192c1871971b45121249395ef15c5ae5)
2008-05-21Fix reference to removed smbpython.Jelmer Vernooij1-1/+1
(This used to be commit 58f956dc4591137489cba16f360f2d24d91dadc1)
2008-04-16Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett10-120/+81
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
2008-04-16Fix wbinfo --trusted-domains.Andrew Bartlett1-3/+2
The problems here were that we did not bind to the LSA pipe, and we did not consider it possible to have 0 trusted domains. Andrew Bartlett (This used to be commit 86694d429d62940882ac9b7af83b3e7d00e67c5a)
2008-04-16Use the subunit shell library.Jelmer Vernooij9-120/+14
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)
2008-04-16Use library for subunit test functions.Jelmer Vernooij1-0/+67
(This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)
2008-04-16Fix -r test, knownfailure return code.Jelmer Vernooij1-1/+3
(This used to be commit 4f0954905a902381e66eec74fd30ff7adde232b8)
2008-04-16Merge branch 'wbinfo-test' of ↵Jelmer Vernooij1-0/+199
git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest (This used to be commit 56340a5fa1b075001bba829686861a59406e1f5d)
2008-04-16Fix executable bit on blackbox ndrdump tests.Jelmer Vernooij1-0/+0
(This used to be commit a3f0e4151bd87399a8bab9b71bad36bdc53c365c)
2008-04-15blackbox: Add many more tests for wbinfoKai Blin1-0/+199
(This used to be commit 0a2942f6e948177fcc671eae705e6e61644de81c)
2008-04-15Test password change with 'net password change'.Andrew Bartlett1-0/+8
Andrew Bartlett (This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)
2008-04-15Test a few more bits of smbclientAndrew Bartlett1-2/+26
(This used to be commit 24a2409d725953ed5f62c652acc929ee7ddf9a19)
2008-04-15Add blackbox test for ndrdump, to ensure it at least does notAndrew Bartlett3-0/+33
segfault. Andrew Bartlett (This used to be commit d2fe61a13a8368ceae30c6e7320c8d3d62fbc485)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-10/+18
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-02-15added blackbox testing of gentestAndrew Tridgell1-0/+47
(This used to be commit 716345fd38dfd8c6e610fbd6ba84c4f33e3edbb9)
2008-02-15added a blackbox test for masktestAndrew Tridgell1-0/+41
(This used to be commit 05a110123df2372418e2ef2fd8f269b92054069c)
2008-02-15converted locktest to use popt and cmdline utility codeAndrew Tridgell1-4/+5
(This used to be commit 625ea49a95cbdb507ea5b191f75ffa27e25cdb90)
2008-02-15added blackbox testing for locktestAndrew Tridgell1-0/+40
(This used to be commit af6484f78d273407dd9b264bc4adb33497eee48b)
2008-02-09Move nmblookup blackbox test closer to the code it tests.Jelmer Vernooij1-36/+0
(This used to be commit 3f24136b56d281580410bf69841c6dece5508d17)
2008-02-08Put temporary test files in test directory.Jelmer Vernooij1-1/+1
(This used to be commit 16382999bebf158996e16219e7053ef4821550c1)
2008-01-16Test the behaviour of mixed domain_scope and search_options controls.Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit 89053bc564f1d736da48fbe20e7f8f244b0c67fa)
2008-01-13Remove accidently committed debugging statement.Jelmer Vernooij1-2/+0
(This used to be commit 9ad2de6e9900aadc3171c5376972ce4d3ed3fb24)
2008-01-13tests.blackbox: Avoid my local Kerberos setup from interfering with the ↵Jelmer Vernooij1-1/+3
blackbox.smbclient test. (This used to be commit 1d703dcf3a888e4c8301a4f53a289ff18bf89f75)
2007-12-21r26192: Handle, test and implement the style of extended_dn requiest that ↵Andrew Bartlett1-0/+10
MMC uses. It appears that the control value is optional, implying type 0 responses. Failing to parse this was causing LDAP disconnects with 'unavailable critical extension'. Andrew Bartlett (This used to be commit 833dfc2f2af84c45f954e428c9ea6babf100ba92)
2007-10-10r24876: Use more absolute paths to samba4 binaries.Jelmer Vernooij3-18/+27
(This used to be commit 8616bfa0ae5762ae45b8339c84b8e4ae499f5897)
2007-10-10r24706: Move nmblookup tests to separate blackbox testsuite.Jelmer Vernooij1-0/+36
(This used to be commit aeb2e714f22abe68f89218967a55d7abd2d04ae1)
2007-10-10r24693: Test search options in ldb blackbox testing.Andrew Bartlett1-0/+9
Andrew Bartlett (This used to be commit 9f45b5553a53d2e8a1c2643bf58fb90db8217b66)
2007-10-10r24691: All smbclient blackbox tests pass.Jelmer Vernooij1-1/+1
(This used to be commit c3a138627487ec0ed5a4c4c4457df35275f4cada)
2007-10-10r24459: Fix up ldap.js and test_ldb.sh to test the domain_scope control, andAndrew Bartlett1-0/+7
to test the behaviour of objectCategory=user searches. It turns out (thanks to a hint on http://blog.joeware.net/2005/12/08/147/) that objectCategory=user maps into objectCategory=CN=Person,... (by the defaultObjectCategory of that objectclass). Simplify the entryUUID module by using the fact that we now set the DN as the canoncical form of objectCategory. Andrew Bartlett (This used to be commit b474be9507df51982a604289215bb1868124fc24)
2007-10-10r24339: Move output functions to separate files.Jelmer Vernooij1-1/+1
(This used to be commit f4ff4c5f61189c71ab60a5455272302add9e1d97)
2007-10-10r24335: Fix -N support.Jelmer Vernooij1-0/+2
(This used to be commit 18ea767d396bf6d956fd83ee3d2687d98897ae36)
2007-10-10r23965: Add testing the 'net time' command to the script.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 4fab53432a3599cf62a7ebef977bc33ef5a5f734)
2007-10-10r23964: Update blackbox selftest scripts to cover more code, and to moreAndrew Bartlett2-35/+80
consistantly report errors. (Some were being lost due to the "echo foo | cmd" calling convention). Andrew Bartlett (This used to be commit d0a994d0ce7b1d4a33bbca5348c2da868401971f)
2007-10-10r23849: ldap_server: Provide more info in debug tracesAndrew Bartlett2-0/+13
blackbox tests: increase test coverage by running more options. Andrew Bartlett (This used to be commit 46abf82675ea0ce06a162be5d733da0c236880c2)
2007-10-10r23174: merge textJelmer Vernooij1-0/+5
(This used to be commit a6293ab5cb31a73f23adebacc68d2d383fa62e22)
2007-10-10r22284: Make this script executableAndrew Bartlett1-0/+0
(This used to be commit b0cbf169366e3624f4d8c2b1a65e478e72734871)
2007-10-10r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.Andrew Bartlett1-0/+45
Andrew Bartlett (This used to be commit 7f27bfc3568bc09b2b9cb9ba03aae55a03e08f9a)
2007-10-10r22187: Test kerberos logins in the smbclient blackbox tests, including with aAndrew Bartlett1-1/+3
machine account. Andrew Bartlett (This used to be commit 16a2bb87a80ffb921f267492f453eb3457666315)
2007-10-10r22170: To get the smbclient blackbox test to pass again, we need to get theAndrew Bartlett1-0/+2
private dir to contain a valid machine account. It isn't really valid it use the DC's account any more, so extend this script to also join the domain. This nicely tests out some previously untested code too! Andrew Bartlett (This used to be commit 12f4e6033ed11a010211a4295424588f44f7e5e0)
2007-10-10r21736: Fix the smbclient test to do something more interesting with the lastAndrew Bartlett1-15/+32
few authentication tests. Now that the tests correctly 'fail', I was able to fix the credentials subsystem to honour USER and PASSWD. To get --machine-pass working, I needed ldb to always load it's static modules, so I put this in ldb_connect(). Andrew Bartlett (This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-2/+0
This changes the main selftest code to be in perl rather than in shell script. The selftest script is now no longer a black box but a regular executable that takes --help. This adds the following features: * "make test TESTS=foo" will run only the tests that match the regex "foo" * ability to deal with expected failures. the suite will not warn about tests that fail and are known to fail, but will warn about other failing tests and tests that are succeeding tests but incorrectly marked as failing. * ability to print a summary with all failures at the end of the run It also opens up the way to the following features, which I hope to implement later: * "environments", for example having a complete domains with DCs and domain members in a testenvironment * only set up smbd if necessary (not when running LOCAL tests, for example) * different mktestsetup scripts per target. except for the mktestsetup script, we can use the same infrastructure for samba 3 or windows. (This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10r21700: Run mktestsetup as an external program. This guarantees that it can ↵Jelmer Vernooij1-1/+2
be used for other selftest implementations (in particular the perl one I've been working on). (This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
2007-10-10r21017: Actually run tests during test phase rather than when generating the ↵Jelmer Vernooij2-3/+77
recipe. (This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)
2007-10-10r20958: Inspired by the lcov output, check the PASSWD_FILE andAndrew Bartlett1-1/+12
--authentication-file options to smbclient. Andrew Bartlett (This used to be commit f85e57a71e639c63d89dd2d4c11632e36d0e8ba6)
2007-10-10r20747: Move cifsdd to blackbox sectionJelmer Vernooij1-0/+90
(This used to be commit 96ac1c62eef29e8c8c1df9719b6785134efe525c)
2007-10-10r20746: Don't report each individual test in test_smbclient as a single ↵Jelmer Vernooij1-0/+102
testsuite. Create separate directory for blackbox tests. (This used to be commit 7e6357f21350d264ebedabd34f2b8f42fc0427ff)