Age | Commit message (Collapse) | Author | Files | Lines |
|
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:
- write "comments" to stderr
Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]
I've already converted the talloc testsuite.
(This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
|
|
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
|
|
same process
is used for other tests that operate on a share when run against windows.
(This used to be commit 3d0cadb303fe9db49289d300a1c9fca44eee9d33)
|
|
(This used to be commit 059d52167cbc36d9dbf17b7a9e6463700fa4749d)
|
|
which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
(This used to be commit eb16d5324d6e1f4e4b33993e23a6446c3289a85f)
|
|
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa738177f55d93b227f341f903a902939)
|
|
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.
I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.
(This used to be commit 542bddacc8a57d5486d0b721ddd9357179b597b5)
|
|
doesn't delete the generated pcap files
metze
(This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)
|
|
export MAKE_TEST_ENABLE_PCAP=yes
make test will use SOCKET_WRAPPER_PCAP_FILE support
and will run each test with a different file
the capture will be removed unless the test fails.
the TEST PCAP: line will show the location of the file
metze
(This used to be commit 5095783cdf01db9d28392ba0d88186c1a4df654b)
|
|
metze
(This used to be commit c8070c38f2915e8f56fef62242d3ab9a202e4c34)
|
|
DB_CONFIG file, we now get reasonable enought performance to pass
'make test' against OpenLDAP.
We do have to double the maximum runtime for the torture client however.
Andrew Bartlett
(This used to be commit 5b3c8cc036c1180c9e96d9aaacd3f2e0a83460e5)
|
|
stat() 240 files that don't exist on every broadcast. That's a bit
excessive!
reduce max virtual interfaces to 16
(This used to be commit 3c4100027c7d3806a2021cb4d70ec6adf9dd2dc6)
|
|
intentional error that I inserted for testing earlier and forgot to take out before commiting.
The other error was a real bug. :)
(This used to be commit 0269f3101555daaa4b2c4080ab24c1ca75cdc2f6)
|
|
test_win.sh has been rewritten to use the testit() function from test_functions.sh.
(This used to be commit d0ed99859f7cbed599abf7083e7fb20bd58b1556)
|
|
Andrew Bartlett
(This used to be commit 77f1c15d92d13f6e4f278d9d4b0f15fab66b4bbc)
|
|
'make testenv'
Andrew Bartlett
(This used to be commit 5215b834bd08ae01b055aed0f2dc074b58996709)
|
|
taking over half an hour on some systems
(This used to be commit 13ca7297dd8645085f12d4cf586c2c07f0f1b287)
|
|
This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb. For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.
This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.
To assist this, we also store the last modified time in the TDB,
whenever we change a value.
Andrew Bartlett
(This used to be commit 72858f859483c0c532dddb2c146d6bd7b9be5072)
|
|
with all the helpful env variables set.
TEST_LDAP=yes script/tests/selftest.sh st/ xterm SOCKET_WRAPPER
Andrew Bartlett
(This used to be commit 1a48fa96bc4b096a72bf5e4455aaa43c63966c10)
|
|
(This used to be commit d062e101664a90f2f7bf0980449f920aa719ee76)
|
|
framework
Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh
(This used to be commit 7120fbffa5560dcaf3d796cb72fa3a6b78a991d6)
|
|
was occasionally too long for IRIX 6.4
(This used to be commit f6b65fd631ede9b53c3a8c7a300b3b6bad9f6c52)
|
|
filesystems and the tests are taking more than 1.5 hours. We will
still be testing the sync code paths, as the ldb tests still run
synchronous, but doing all of our other tests synchronously just costs
too much time.
(This used to be commit ce2baf7385e019383ffb292bd30e77c31eecbbef)
|
|
(This used to be commit fea75d2c9732f91cb79e178ef6c57c3945e4f52e)
|
|
completes in a minute on my laptop (the benchmark I usually use).
Simo, I removed th ldb tests, as ldb is pretty well tested by lots of
the other tests, and its a pretty slow test. We could instead add a
"ldb-testquick.sh" which does only minimal testing. The full tests
will of course be run with 'make test' and in the build farm.
(This used to be commit 3cee6a7863bba61c92f94087df5c6442f02a2da7)
|
|
when I changed the test output to be easier to read, I also broke it
so that it always gives a zero exit status. Fix now, and unfortunately
I expect to see some more red in the farm as a result :(
(This used to be commit c2fc3471023b613571089cb018638a40091d08ab)
|
|
- don't display the "(NN tests failed so far)" message unless a test
has failed
(This used to be commit da37e963cef065bb1c50543596e352c78e712ddc)
|
|
has failed. The output was too subtle for people who aren't used to
it.
(This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
|
|
tiny quick test for torture for them
(This used to be commit 64062d16a2cc215af320eb30827887eb2531e3b0)
|
|
when it breaks. It isn't much good as a template for developers to use
unless it works :-)
(This used to be commit 262bee07dcb140b413d5ae5a8a754b3e57235323)
|
|
beginnings of smbtorture test for it
(This used to be commit 57f56957176ca04f3abb579b557aade71f8d361d)
|
|
showing on test failure and showing all the smbd output each time.
(This used to be commit 1dfac4666423d7e0565795e3eae72da7e25a5b54)
|
|
(This used to be commit f7eaa03d6f6f28408d8e6a7e33c540e50cbed3a1)
|
|
the correct authz-regexp for future use.
Fail to test if slapd fails and TEST_LDAP=yes
(This used to be commit 1daf4e7bd47df4f127447ab9b5d583bbe7b2a10a)
|
|
easier in the build farm.
(This used to be commit b2d3f8f7aae5b2bb9baf4e45fbc4632576e6fea8)
|
|
Windows VM for testing using this framework.
Let me know if there's anything that looks strange or could use clarification.
vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh.
(This used to be commit 849fe757bb908842844ab482b8669694157550cd)
|
|
metze
(This used to be commit 928beac95d534a7a9f5182b64ec905f0ad094192)
|
|
(This used to be commit d1ceb79d9d10a3fd7bdba935ef2d12db346051f4)
|
|
how to work around a problem with it giving unpredictable orderings in
renames (sometimes target is first event, sometimes source)
(This used to be commit 066e3b51b1ca038023e53a978e1d2e706cd3d8a6)
|
|
hours for a single test)
(This used to be commit febaf6af4cafed7bc57276186a35099959b2ce62)
|
|
solaris
(This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329)
|
|
kerberos on port 750 in /etc/services! Work around this by using
127.0.0.1:88 in the krb5.conf
(This used to be commit 9fb91702fd6c080d87ea60c60e0591636d1a6441)
|
|
complete all tests
(This used to be commit c44b17ad66281eb4611353fd79a410151d9ce531)
|
|
(This used to be commit 6c7dd852c05cf131d7def8a8dcff7e98df9ea521)
|
|
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)
|
|
the server-side work.
(This used to be commit 73d87cce7c5e33f73d6a63379af3586f543eb372)
|
|
rafal
(This used to be commit 8657bd437a13513632650a192509fc98c686c69d)
|
|
rafal
(This used to be commit 2185e978891617f2e3ad4428df55269bcdf62443)
|
|
externally in the build farm
(This used to be commit a85646cba5ae5f96d99bd79d491e4151ffe6e78e)
|
|
This will give a bit more noise on platforms without OpenLDAP (when we
run the slaptest check), but it shouldn't be too bad.
We don't start the LDAP server or re-provision unless LDAP_TEST is set.
Andrew Bartlett
(This used to be commit 999d989131f41d0218ec05595c9761aff5bbf5fa)
|