summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.pl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22378: none needs to be checked firstStefan Metzmacher1-3/+3
metze (This used to be commit 7688919ab879706450a745b59fe5ef2506c25943)
2007-10-10r22375: implement check_env() logic in the frontendStefan Metzmacher1-1/+21
metze (This used to be commit 0b48ca5d3ebe8fe29774d85ee15e473af8c0714d)
2007-10-10r22361: warnings.pm isn't available on solaris 8Stefan Metzmacher1-1/+0
metze (This used to be commit a21a86543f46f677696eb77c140763414600e24d)
2007-10-10r22360: print out the name of the PCAP file and move setup and cleanupStefan Metzmacher1-19/+51
of pcap files into functions metze (This used to be commit dea42ce55965d22ff82279cacd8939b1e133ff1e)
2007-10-10r22359: try to fix the start failures in the build-farm by creating the ↵Stefan Metzmacher1-4/+5
prefix dir before using abs_path() metze (This used to be commit a3f35f5af4533d7903c2a1e181017b310baa9d71)
2007-10-10r22356: Simple refactoring.Jelmer Vernooij1-7/+10
(This used to be commit 913aa17b0278e0861f2662768453e436a3d71e1e)
2007-10-10r22339: Run some more tests.Jelmer Vernooij1-1/+4
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10r22338: Allow regexes in known-failures fileJelmer Vernooij1-1/+4
(This used to be commit 74efac5ce2655e47f8274f484630b82b6d5fcb24)
2007-10-10r22337: print out the smbd log output after each testStefan Metzmacher1-4/+18
metze (This used to be commit b6b95180d3fb851264fd64eb5a0de4803ee0892a)
2007-10-10r22335: output the error codeStefan Metzmacher1-0/+4
metze (This used to be commit cf3a176615943fd552bd153a1760cbb21ab75db2)
2007-10-10r22334: don't print the test output if the test passedStefan Metzmacher1-10/+30
(in build-farm mode) use scalar(localtime()) instead of system("date") metze (This used to be commit d1d485fd0c0b9ebc1c9d5635397ee44d7c7406bb)
2007-10-10r22332: escape bad chars with '_' to form a nice filenameStefan Metzmacher1-1/+3
metze (This used to be commit 3d3c0b36cbb0a34b3e241575d79427936aaa8306)
2007-10-10r22331: remove run_test_buildfarm() functionStefan Metzmacher1-48/+25
and pass buildfarm specific msg_ops to run_test() instead metze (This used to be commit e102863020c98565155d1f6f8454db3ac3da884b)
2007-10-10r22329: abstract the output handling of run_test()Stefan Metzmacher1-15/+57
via function pointers metze (This used to be commit 4a77fc9cf5037a851b605dde8f5deb5d22f025c3)
2007-10-10r22326: Merge some more test improvements.Jelmer Vernooij1-7/+37
(This used to be commit 3f85eab5908b8aa6761f23702f987d89f2977179)
2007-10-10r22305: fix make test using a absolute path forStefan Metzmacher1-9/+17
--with-selftest-prefix metze (This used to be commit b9dc78c3ad4c636bd8356978c18313ab4277cd64)
2007-10-10r22286: Import branch that converted the Samba4 test target code to perl and ↵Jelmer Vernooij1-9/+12
makes the code a bit clearer. (This used to be commit e3ba5ced0440e736f0f140e12a8c728f79a20bb2)
2007-10-10r22233: Allow 'REALM' as a global environment variable in the tests.Andrew Bartlett1-2/+4
Set the default socket_wrapper interface inside the test env setup, so it actually stays (fixes LOCAL-SOCKET failures). Andrew Bartlett (This used to be commit 783c57bf1c0f3dd4249302857936a2b6595e0a7b)
2007-10-10r22197: fix formatingStefan Metzmacher1-10/+8
metze (This used to be commit 31c9bd4bf2e08a979c7396a56b7bdb124bebfd01)
2007-10-10r22177: Restore the PIDDIR mapping for the client 'pid directory', as this isAndrew Bartlett1-0/+3
(ab)used for messaging. Andrew Bartlett (This used to be commit 0a721c3193163f8a12f5410df4c29b6dc00b7035)
2007-10-10r22170: To get the smbclient blackbox test to pass again, we need to get theAndrew Bartlett1-6/+11
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-10r22161: Clarify exactly where the socket_wrapper should be handled (early),Andrew Bartlett1-1/+4
and ensure that $prefix exists before it tries to create $prefix/w. This should fix the build farm. Perhaps we should have a rm -rf $prefix at the start of this script, as that would have found the problem, but I want to be careful about that... Andrew Bartlett (This used to be commit a230261e83fd9161e60554b74cf8556f36b1af45)
2007-10-10r22160: Only use test environment names that actually exist (get makeAndrew Bartlett1-0/+1
quicktest to pass). Ensure that when we fail on the build farm, this ends up in the total failures. I think having the 2 different functions for running the tests is just asking for this kind of failure. The build farm should be a presentation detail, and not alter the test behaviour. There is still a gremlin in there, we will fail horribly on the farm, but not on local tests... Andrew Bartlett (This used to be commit 519f3c0575748968ece2f556f370ade98c59ff05)
2007-10-10r22156: - Lazy evaluate variable names.Jelmer Vernooij1-29/+82
- Don't set up environments until necessary - Add --resetup-environment option - Add 'none' environment (This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
2007-10-10r22137: Actually use client.conf, defer more code as far as possible.Jelmer Vernooij1-17/+18
(This used to be commit 9399123a7277dbaf8dd392dd4ec2fe1c0780d486)
2007-10-10r22134: Create different smb.conf file for the client side. This should make ↵Jelmer Vernooij1-1/+31
use with Samba 3 or windows easier as well as environments. (This used to be commit a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)
2007-10-10r22133: Don't push parameters into environment until necessary.Jelmer Vernooij1-5/+5
(This used to be commit 290815d180b2bf0ba24744b3796905096d07d7b7)
2007-10-10r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.Andrew Bartlett1-1/+1
(This used to be commit 9e95871b3a70310b8c0ca92dfdb595d7cfc559d5)
2007-10-10r22077: Import only necessary test variables, more refactoring.Jelmer Vernooij1-6/+8
(This used to be commit 150bb2238ea91ead3bdde0a34ff801b79bc83ec3)
2007-10-10r22074: More refactoring.Jelmer Vernooij1-21/+6
(This used to be commit b0e0c5cb94fc6d96dff9acd55ec632e3dd461b17)
2007-10-10r21910: Clean up some unused functions.Jelmer Vernooij1-1/+2
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
2007-10-10r21909: Merge some of my recent improvements to the test infrastructure:Jelmer Vernooij1-93/+65
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones). - Move more Samba4-specific code out of the common code (This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10r21741: Like starting smbd, ensure we have acutally started slapd, and it isAndrew Bartlett1-1/+1
listening, before we continue. Andrew Bartlett (This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
2007-10-10r21733: Merge testenv back into core selftest.plJelmer Vernooij1-16/+32
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
2007-10-10r21720: Try to make 'TEST_LDAP=yes make test' work again. These recentAndrew Bartlett1-1/+1
changes seem to have been lost in the merge, and some variables were not yet exported. Andrew Bartlett (This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)
2007-10-10r21716: Report status in a way the build farm recognizes.Jelmer Vernooij1-0/+4
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)
2007-10-10r21713: Redirect stderr output to stdout.Jelmer Vernooij1-1/+1
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)
2007-10-10r21709: Add a list of tests that should be skipped rather than ad-hoc test ↵Jelmer Vernooij1-3/+34
skipping in various places. (This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-155/+373
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-10r20756: Update to use generated recipes.Jelmer Vernooij1-7/+44
(This used to be commit 842637f78bbfb66ff669dadf3c7387dbc45feaf8)
2007-10-10r20739: Add more command-line options.Jelmer Vernooij1-19/+45
(This used to be commit 8ca927f8883ec7b7e9c91ae2c2df2cac2110601d)
2007-10-10r20737: Add option parsing.Jelmer Vernooij1-4/+33
(This used to be commit b1719ebf3812b79715cf4e549426d798571b4908)
2007-10-10r20693: Add reimplementation of selftest in perl. Once this has been testedJelmer Vernooij1-0/+253
more properly, I hope to use this as a replacement for the existing file. (This used to be commit 1e013aba7697716451c25eeab851b6812b2e066f)