1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

906 Commits

Author SHA1 Message Date
Jelmer Vernooij
96c3cb957b r21032: Skip two more tests
(This used to be commit 65cb965f11)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
6676d7cfc7 r21031: Skip some tests that were not listed previously.
(This used to be commit 7b160f18b2)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
32dd550d19 r21030: whoops, fix incorrect regex
(This used to be commit 2c6cc617f9)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
37a13964ef r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well
(This used to be commit 053d5a40bc)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
5c847a00a7 r21028: Generate list of tests rather than maintaining it manually.
(This used to be commit 7de4727ceb)
2007-10-10 14:44:21 -05:00
Andrew Bartlett
a3c2bc4ba0 r21026: Add a helpful script to do the things we need to do to make a release
tarball.

Andrew Bartlett
(This used to be commit 5975229043)
2007-10-10 14:44:21 -05:00
Jelmer Vernooij
48bb9bc6cd r21017: Actually run tests during test phase rather than when generating the recipe.
(This used to be commit b975ce3a47)
2007-10-10 14:44:20 -05:00
Andrew Bartlett
0eea5a66b4 r20997: Add in more certificate and key blobs, to enable PKINIT.
To automaticly test this, we need to decide if we should ship kinit
(and possibly and hxtool).

Andrew Bartlett
(This used to be commit 413df7114e)
2007-10-10 14:44:19 -05:00
Jelmer Vernooij
fe938ca91f r20967: Allow pidl tests to work with gcov
(This used to be commit 9da63e362c)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
c471abbcfe r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff)
2007-10-10 14:44:04 -05:00
Jelmer Vernooij
615895332a r20830: merge mgmt work
(This used to be commit 3cc299dbbe)
2007-10-10 14:43:37 -05:00
Jelmer Vernooij
6688846ee1 r20822: Fix total failure counting.
(This used to be commit e4691447c4)
2007-10-10 14:43:36 -05:00
Jelmer Vernooij
10e1a80b9e r20756: Update to use generated recipes.
(This used to be commit 842637f78b)
2007-10-10 14:40:45 -05:00
Jelmer Vernooij
0eb967cd41 r20755: Add progress indicator to test runner
(This used to be commit bbe00636a9)
2007-10-10 14:40:44 -05:00
Jelmer Vernooij
5ae1175460 r20754: Simplify code for calculating total number of failed tests.
(This used to be commit f288ca5f68)
2007-10-10 14:40:44 -05:00
Jelmer Vernooij
727748bee8 r20750: Use files in script/tests to build a recipe rather than running the tests immediately.
(This used to be commit d31d16e4eb)
2007-10-10 14:40:42 -05:00
Jelmer Vernooij
70dbcf6d69 r20748: Add file I forgot to commit
(This used to be commit 2794af5726)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
f60f9de6a8 r20747: Move cifsdd to blackbox section
(This used to be commit 96ac1c62ee)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
d9665a737b r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
(This used to be commit 7e6357f213)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
1d1315adcd r20739: Add more command-line options.
(This used to be commit 8ca927f888)
2007-10-10 14:40:35 -05:00
Jelmer Vernooij
1e29e06d80 r20737: Add option parsing.
(This used to be commit b1719ebf38)
2007-10-10 14:40:35 -05:00
Jelmer Vernooij
5f450fbd9a r20696: Print mktestsetup errors to stderr rather than to either stderr or stdout.
Instead, print variables for the setup created to mktestsetup's stdout.
(This used to be commit b7fd9645f5)
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
c827955d80 r20693: Add reimplementation of selftest in perl. Once this has been tested
more properly, I hope to use this as a replacement for the existing
file.
(This used to be commit 1e013aba76)
2007-10-10 14:40:23 -05:00
Derrell Lipman
d0d846cd9b r20519: Web Application Framework
- No path given to web server means use old scripts (missed check-in)

- Build Web Application (qooxdoo stuff) from autogen.sh since python isn't
  available or is differently-configured on various build-farm machines

- Don't continually check in generated files

- Properly identify SWAT "Statistics" module as "Status and Statistics"
(This used to be commit 9d89b7663a)
2007-10-10 14:36:10 -05:00
Jelmer Vernooij
ce5581a85e r20509: Warn about the fact that no tests have been run rather than showing division by
zero errors.
(This used to be commit 62f55b3394)
2007-10-10 14:36:03 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46)
2007-10-10 14:30:39 -05:00
Stefan Metzmacher
66afa10037 r20167: reenable the ejsnet tests
metze
(This used to be commit 1e4289fae4)
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
32a0486739 r20164: Disable the test till tomorrow when I find out what caused
the crash.

rafal
(This used to be commit 5d7908038b)
2007-10-10 14:29:16 -05:00
Andrew Bartlett
d471e52d23 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
(This used to be commit 67d8365e83)
2007-10-10 14:29:15 -05:00
Jelmer Vernooij
f98b34d0f2 r19880: Eliminate duplicates in the output.
(This used to be commit 2a8c8e1f2d)
2007-10-10 14:28:30 -05:00
Jelmer Vernooij
4a127c679d r19877: Add simple script for summarizing subunit testresults.
(This used to be commit c38705ef42)
2007-10-10 14:28:30 -05:00
Jelmer Vernooij
60e7b4d995 r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
(This used to be commit db237ad52f)
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
0b4bd70616 r19862: Fix list concatenation
(This used to be commit a26da5182e)
2007-10-10 14:28:27 -05:00
Jelmer Vernooij
1aec9389ed r19861: Add simple pkg-config replacement.
(This used to be commit a42220c356)
2007-10-10 14:28:26 -05:00
Stefan Metzmacher
a4957315d8 r19723: don't use [,],(,) in test names to make the build-farm output happy
metze
(This used to be commit 8a0a92e2dc)
2007-10-10 14:28:14 -05:00
Rafal Szczesniak
52f53078bf r19708: add a script for running net tests separately
rafal
(This used to be commit 0f913ef240)
2007-10-10 14:28:12 -05:00
Jelmer Vernooij
9d7856122e r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
(This used to be commit f111feb1d2)
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
273d5f8666 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
(This used to be commit 3b65a0d6e4)
2007-10-10 14:25:27 -05:00
Andrew Bartlett
f722b07438 r19633: Merge to lorikeet-heimdal, removing krb5_rd_req_return_keyblock in favour of a more tasteful replacement.
Remove kerberos_verify.c, as we don't need that code any more.
Replace with code for using the new krb5_rd_req_ctx() borrowed from
Heimdal's accecpt_sec_context.c

Andrew Bartlett
(This used to be commit 13c9df1d4f)
2007-10-10 14:25:21 -05:00
Andrew Bartlett
8b91594e09 r19603: Make it easier to control the debug level of smbd.
Ensure that we don't accept kerberos logins without a PAC (to ensure
we actually produce a PAC in the KDC)

Andrew Bartlett
(This used to be commit 5fda92783f)
2007-10-10 14:25:02 -05:00
Andrew Bartlett
ac43520c5a r19590: Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett
(This used to be commit 1c7cb1314b)
2007-10-10 14:24:58 -05:00
Andrew Bartlett
d1fd7fb79a r19589: Because we what we really wanted was coverage of seal and non-seal,
rather than validate or not, change $VALIDATE to bigendian in the
session_key test.

Andrew Bartlett
(This used to be commit 4f79f3b0c4)
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
2eeb0e5f28 r19569: Require that all public header files have a destination path. Fix
places where this was currently not the case.
(This used to be commit 3894497a23)
2007-10-10 14:24:53 -05:00
Andrew Bartlett
f3405430db r19567: Make it easier to control the debug level in the test scripts, by not
specifying it on the smbd command line.

Andrew Bartlett
(This used to be commit 8b71f4b31f)
2007-10-10 14:24:53 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067)
2007-10-10 14:24:41 -05:00
Andrew Tridgell
863bd921f2 r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
platforms as it tests the system iconv with the built in iconv. Limit
the test to Linux to avoid spurious errors.
(This used to be commit 9e1a8475ca)
2007-10-10 14:24:40 -05:00
Brad Henry
c309e2e597 r19476: small typo.
(This used to be commit 51580208a7)
2007-10-10 14:21:39 -05:00
Brad Henry
11c6ecc8be r19475: fixed a couple of typos.
(This used to be commit f2df3a90f1)
2007-10-10 14:21:39 -05:00
Brad Henry
e0dfd66361 r19474: Move the Samba server / Windows client test to its own script.
(This used to be commit 908b483ed0)
2007-10-10 14:21:38 -05:00
Brad Henry
622928924f r19473: Add NET tests in their own script. Run the same set of tests that 'make test' does.
Comment those tests which don't pass.
(This used to be commit 7d382b175b)
2007-10-10 14:21:38 -05:00
Brad Henry
9c83f44fa1 r19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Comment those tests that don't pass.
(This used to be commit 046b38817a)
2007-10-10 14:21:38 -05:00
Brad Henry
2fa394a51a r19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as 'make test' does, at least for those that pass.
Comment the tests that don't pass.
(This used to be commit 33760cfe94)
2007-10-10 14:21:37 -05:00
Brad Henry
ac83f285a1 r19470: Move common windows test functions into their own script wintest_functions.sh, and remove them from the main windows test script.
(This used to be commit 5871960928)
2007-10-10 14:21:37 -05:00
Derrell Lipman
68453d1da2 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
(This used to be commit 2406af1079)
2007-10-10 14:21:33 -05:00
Stefan Metzmacher
7653fa22d9 r19443: reset trap when we have removed the test specifc files already
metze
(This used to be commit 15d24f355a)
2007-10-10 14:21:33 -05:00
Brad Henry
288b3850d8 r19432: This way of reverting snapshots is much better than the way I was doing them before.
(This used to be commit 42171cbf49)
2007-10-10 14:21:30 -05:00
Jelmer Vernooij
d9fd8b5256 r19388: Start running all LOCAL-* tests but list some of them as known failing.
(This used to be commit bfa0fbfe94)
2007-10-10 14:21:23 -05:00
Jelmer Vernooij
b58deeea69 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d9706)
2007-10-10 14:21:14 -05:00
Stefan Metzmacher
4177cf9926 r19344: run smbclient and cifsdd under valgrind and pass the correct configuration
to get useful backtraces in the build-farm

metze
(This used to be commit fa030e4598)
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'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 e1742c14a2)
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
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 0eb6097305)
2007-10-10 14:21:12 -05:00
Brad Henry
b39540b504 r19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
is used for other tests that operate on a share when run against windows.
(This used to be commit 3d0cadb303)
2007-10-10 14:21:02 -05:00
Brad Henry
3ff55aa73e r19280: Missed renaming a remove_qfileinfo_test() function call.
(This used to be commit 059d52167c)
2007-10-10 14:21:02 -05:00
Brad Henry
ebbdf24b03 r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
(This used to be commit eb16d5324d)
2007-10-10 14:21:01 -05:00
Brad Henry
85ccd43f70 r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa7)
2007-10-10 14:21:01 -05:00
Brad Henry
2c594ee12b r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
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 542bddacc8)
2007-10-10 14:21:01 -05:00
Stefan Metzmacher
66f264bd7a r19229: let mkversion.sh handle bzr trees
metze
(This used to be commit 12c8067337)
2007-10-10 14:20:55 -05:00
Stefan Metzmacher
4c1d2f1011 r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
(This used to be commit e89ae157e8)
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
b510a0bed9 r19150: add a usefull tool to test the gdb_backtrace script
just compile it with
cc -g -o gdb_backtrace_test gdb_backtrace_test.c

and run it in the same directory where your gdb_backtrace script is.

metze
(This used to be commit 56ae0171ba)
2007-10-10 14:20:44 -05:00
Stefan Metzmacher
9db9ce6087 r19149: ladebug needs to have the stoponattach flag set
to generate the current backtrace without waiting for a signal...

metze
(This used to be commit d86100289a)
2007-10-10 14:20:43 -05:00
Derrell Lipman
250399c923 r19142: ensure no race conditions during installation by having same name in source and swat directory; install new apps and services
(This used to be commit a2b996317f)
2007-10-10 14:20:42 -05:00
Stefan Metzmacher
40b9cb2dd9 r19128: - make the gdb_backtrace script more portable
- try /proc/${PID}/exe first
- fallback to the binary given on the commandline
- fallback searching the binary with 'which' from the
  commandline argument
- use 'ladebug' debugger on Tru64

metze
(This used to be commit f792a9532d)
2007-10-10 14:20:37 -05:00
Stefan Metzmacher
4b35dc53fe r19098: with
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 5095783cdf)
2007-10-10 14:20:35 -05:00
Stefan Metzmacher
389e6549ba r19036: add LOCAL-REPLACE and reorder the testlist
metze
(This used to be commit c8070c38f2)
2007-10-10 14:20:31 -05:00
Andrew Bartlett
736e797983 r18979: With these extra indexes (also added for the normal case) and a
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 5b3c8cc036)
2007-10-10 14:20:26 -05:00
Andrew Tridgell
c4ebedc7e1 r18917: having 255 virtual interfaces available in socket wrapper means we
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 3c4100027c)
2007-10-10 14:20:21 -05:00
Brad Henry
11c3bfd474 r18884: client_test.exp getting changed to client_tests.exp was an 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 0269f31015)
2007-10-10 14:20:18 -05:00
Brad Henry
7140b68532 r18883: Start including test_functions.sh.
test_win.sh has been rewritten to use the testit() function from test_functions.sh.
(This used to be commit d0ed99859f)
2007-10-10 14:20:18 -05:00
Andrew Bartlett
266ba2222b r18829: Print a nice welcome message when we enter the test environment.
Andrew Bartlett
(This used to be commit 77f1c15d92)
2007-10-10 14:19:15 -05:00
Andrew Bartlett
c220ef880d r18828: Export some more useful environment varibles, particularly for use in
'make testenv'

Andrew Bartlett
(This used to be commit 5215b834bd)
2007-10-10 14:19:15 -05:00
Andrew Tridgell
daf51dfe26 r18825: speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems
(This used to be commit 13ca7297dd)
2007-10-10 14:19:14 -05:00
Andrew Bartlett
77db3973c4 r18781: Move the usnCreated and usnChanged handling around again.
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 72858f8594)
2007-10-10 14:19:11 -05:00
Andrew Bartlett
94bd704fba r18774: This allows an automated way to setup the test environment in a shell,
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 1a48fa96bc)
2007-10-10 14:19:10 -05:00
Jelmer Vernooij
9523e42a26 r18750: Disable not updating the last-modifification-time of proto headers because this was confusing make.
(This used to be commit 4f5987e77f)
2007-10-10 14:19:07 -05:00
Jelmer Vernooij
324a779167 r18721: Fix base and samba3sam EJS tests to work without installation.
(This used to be commit d062e10166)
2007-10-10 14:19:04 -05:00
Andrew Tridgell
db6dcaae16 r18595: try an experiment of adding a RPC test into the windows testing
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 7120fbffa5)
2007-10-10 14:18:54 -05:00
Andrew Tridgell
401f107e0c r18588: save one more character in the socket wrapper path - seems it still
was occasionally too long for IRIX 6.4
(This used to be commit f6b65fd631)
2007-10-10 14:18:53 -05:00
Andrew Tridgell
481ebe7fd6 r18582: disable synchronous ldb in the build farm. Some hosts have very slow
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 ce2baf7385)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
61939ce118 r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?
(This used to be commit fea75d2c97)
2007-10-10 14:18:50 -05:00
Andrew Tridgell
768af9b576 r18577: reduce the number of tests run in 'make quicktest' again, so it
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 3cee6a7863)
2007-10-10 14:18:50 -05:00
Andrew Tridgell
158764412e r18576: unfortunately our current build farm results are a bit too good!
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 c2fc347102)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
ba4115ece7 r18575: - use the right variable to teststatus
- don't display the "(NN tests failed so far)" message unless a test
  has failed
(This used to be commit da37e963ce)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
d6c128fb4c 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.
(This used to be commit a57decb96a)
2007-10-10 14:18:48 -05:00
Steve French
1ce5df6c72 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them
(This used to be commit 64062d16a2)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
dc70a6b4e7 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 :-)
(This used to be commit 262bee07dc)
2007-10-10 14:18:48 -05:00
Steve French
db0fdcf6ce r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it
(This used to be commit 57f5695717)
2007-10-10 14:18:47 -05:00
Andrew Tridgell
c7723f6eaf r18540: show the additional smbd output from each test, rather than only
showing on test failure and showing all the smbd output each time.
(This used to be commit 1dfac46664)
2007-10-10 14:18:43 -05:00
Andrew Tridgell
48615ca0da r18494: don't count 'DWARF2 CFI reader' messages as valgrind failures
(This used to be commit f7eaa03d6f)
2007-10-10 14:18:38 -05:00
Andrew Bartlett
f425072ed9 r18459: Set access to test LDAP server as system to anonymous, but also note
the correct authz-regexp for future use.

Fail to test if slapd fails and TEST_LDAP=yes
(This used to be commit 1daf4e7bd4)
2007-10-10 14:18:33 -05:00
Brad Henry
695cf5413a r18415: Make the samba-windows test scripts executable so they run a little easier in the build farm.
(This used to be commit b2d3f8f7aa)
2007-10-10 14:18:25 -05:00
Brad Henry
6b2aaed94a r18414: This README file should help to explain what is needed to setup a 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 849fe757bb)
2007-10-10 14:18:25 -05:00
Stefan Metzmacher
e6e21ed3ad r18389: test RPC-UNIXINFO in samba4
metze
(This used to be commit 928beac95d)
2007-10-10 14:18:23 -05:00
Andrew Tridgell
c87a08425c r18377: disable native iconv with valgrind
(This used to be commit d1ceb79d9d)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
6cb5128dd6 r18372: don't use the system inotify until in the build farm until we work out
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 066e3b51b1)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
c4f16ffcf9 r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
(This used to be commit febaf6af4c)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
d2e72c46c1 r18322: fixed a compilation problem on AIX caused by lex not putting config.h
first. That leads to a conflicting define for lseek() due to
_LARGE_FILES being defined after standards headers are included
(This used to be commit 9034238e27)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
c10debe53d r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris
(This used to be commit 3828c463ad)
2007-10-10 14:18:05 -05:00
Stefan Metzmacher
bb21503c43 r18296: this isn't needed anymore
metze
(This used to be commit 1ee1007597)
2007-10-10 14:18:03 -05:00
Andrew Tridgell
1caceff302 r18290: finally worked out why we were failing tests on solaris. It has
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 9fb91702fd)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
e7f2d247e4 r18281: a workaround for an infinite dependency loop in the dependency
generation for smbreadline.d. The problem was caused by
extra_flags.txt having ./lib/smbreadline/smbreadline.o but the build
using lib/smbreadline/smbreadline.o, which means cflags.pl didn't
match the target.

Hopefully the workaround can be removed when metze or jelmer wake up
and give me a hint on how to make SMB_SUBSYSTEM() not add the ./
prefix :-)
(This used to be commit 826cd304a7)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
bcd1d154f3 r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
(This used to be commit c44b17ad66)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
77d27a4635 r18251: skip pidl tests unless the platform has Test::More
(This used to be commit 6c7dd852c0)
2007-10-10 14:17:56 -05:00
Andrew Tridgell
caa4bfce7c r18247: more shell portability fixes
(This used to be commit d9ddfdf9e8)
2007-10-10 14:17:55 -05:00
Andrew Bartlett
8d21ad6c25 r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
(This used to be commit 73d87cce7c)
2007-10-10 14:17:54 -05:00
Rafal Szczesniak
5360570115 r18190: Add more NET tests to be run on the build farm.
rafal
(This used to be commit 8657bd437a)
2007-10-10 14:17:48 -05:00
Jelmer Vernooij
2ad95ed398 r18171: Generate prototypes for functions returning bool.
(This used to be commit 587a681c19)
2007-10-10 14:17:45 -05:00
Rafal Szczesniak
15352189d2 r18050: Run more NET tests on the build farm.
rafal
(This used to be commit 2185e97889)
2007-10-10 14:17:08 -05:00
Andrew Tridgell
3dc330b1f3 r18026: patch from Brad allowing the windows testing to be configured
externally in the build farm
(This used to be commit a85646cba5)
2007-10-10 14:17:04 -05:00
Andrew Bartlett
36ca11b00a r18023: Add support infrusructure for testing against an OpenLDAP server.
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 999d989131)
2007-10-10 14:17:04 -05:00
Rafal Szczesniak
92b8f4cfb6 r18017: Separate NET tests out of RPC. This way it's easier to run libnet
tests only for quick checking.

rafal
(This used to be commit a6c9a01e89)
2007-10-10 14:17:03 -05:00
Andrew Bartlett
6cb6d5cf94 r17989: Add RPC-NETLOGON as a test we now run against Samba4.
Andrew Bartlett
(This used to be commit c271c488a5)
2007-10-10 14:17:02 -05:00
Stefan Metzmacher
a9ac74a98b r17838: revert rev 17754
readd --always-create option to mkproto.pl

metze
(This used to be commit 1686c69d0e)
2007-10-10 14:16:46 -05:00
Andrew Tridgell
e5f7da55ef r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
(This used to be commit 7232da0436)
2007-10-10 14:16:38 -05:00
Stefan Metzmacher
f592640d92 r17754: remove the --always-create option from mkproto.pl
and make this behavior the default.

as with make 3.81 and autodependencies this way is much
faster as make can use faster codepathes internally.

(without this make needed more and more startup time after using
 autodependencies for a few weeks)

metze
(This used to be commit e85d7eeb0a)
2007-10-10 14:16:37 -05:00
Andrew Tridgell
b22105f1ac r17675: increase max torture test runtime - we have some v slow hosts in the
farm!
(This used to be commit 6a7800064f)
2007-10-10 14:16:22 -05:00
Andrew Bartlett
7d4da6897c r17547: Add test by mkhl for some of our variable substituion behaviour.
Andrew Bartlett
(This used to be commit c2c72565e4)
2007-10-10 14:15:36 -05:00
Andrew Bartlett
1ace9b6ec0 r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend the
samba3sam test cases for ldb_map, and to include this into our default
'make test'.
(This used to be commit f69a842314)
2007-10-10 14:15:36 -05:00
Stefan Metzmacher
879ce60b73 r17540: store command line args of selftest.sh in local vars
as $0,$1,$2,$3 may change in side the script
or included scripts.

This fixes the usage of SOCKET_WRAPPER on non linux
systems (tested on IRIX 6.4)

metze
(This used to be commit ebfb719e3d)
2007-10-10 14:15:35 -05:00
Stefan Metzmacher
1935ef0d54 r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202
metze
(This used to be commit 200b1a5c81)
2007-10-10 14:15:35 -05:00
Andrew Bartlett
a7770d9738 r17527: Don't duplicate the entire test setup just to allow testing of the new
ldb-backed shares configuration.

Andrew Bartlett
(This used to be commit 59f86d8084)
2007-10-10 14:15:33 -05:00
Stefan Metzmacher
d120eb8128 r17495: run LOCAL-CRYPTO-MD4 and LOCAL-CRYPTO-MD5 with make test
metze
(This used to be commit 0b552dadaa)
2007-10-10 14:15:29 -05:00
Stefan Metzmacher
ea197d7758 r17489: run the crypto tests with test
metze
(This used to be commit b9920f8ac5)
2007-10-10 14:15:28 -05:00
Andrew Bartlett
5d05a1a726 r17396: Bump the time up again. RPC-SAMR can slow, I probably need to break
it up again...

Andrew Bartlett
(This used to be commit 110de3a3a2)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
303c106155 r17395: Add some more time to the default runtime. Now 7.5 mins.
Andrew Bartlett
(This used to be commit 5cb916b57a)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
416625319b r17394: Pregenerate all the files for TLS. Make the 'make test' startup *much* faster.
Andrew Bartlett
(This used to be commit c366c90662)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
adefa4404c r17379: Pre-generate DH parameters, to avoid doing this at runtime in our testsuite.
Andrew Bartlett
(This used to be commit 23314c3953)
2007-10-10 14:15:20 -05:00
Stefan Metzmacher
2ce34063e5 r17282: test some simple operation with the LANMAN1 and LANMAN2 protocol,
that finally tests our RAW_SESSSETUP_OLD code

metze
(This used to be commit 43f99f1171)
2007-10-10 14:15:05 -05:00
Simo Sorce
cb85a76d77 r17208: Add a away to test the ldb module.
Actually you can't test both classic and ldb together, but you can replace the standard
script/tests/mktestsetup.sh file with this one and run make test to see share_ldb in action
(This used to be commit d4c2b89350)
2007-10-10 14:10:19 -05:00
Andrew Bartlett
9e854f2f86 r17169: Test LDAP with testnonblock.
Andrew Bartlett
(This used to be commit 9d866a030e)
2007-10-10 14:10:15 -05:00
Stefan Metzmacher
5af1b8e009 r17014: add whitespaces...
metze
(This used to be commit 60c4eaa4c5)
2007-10-10 14:10:08 -05:00
Andrew Bartlett
b1a92083d8 r16967: Test another NTLMSSP flags combination.
Andrew Bartlett
(This used to be commit 9e4eee5a2d)
2007-10-10 14:10:04 -05:00
Andrew Bartlett
bfc02627ce r16914: Add more tests for the partition module.
Andrew Bartlett
(This used to be commit 2728b60dfa)
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
ee89812758 r16891: test dcerpc over smb2
metze
(This used to be commit 2fd7a5fc61)
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
48e6c11956 r16877: run SMB2-FIND test
metze
(This used to be commit 8edbd9b05b)
2007-10-10 14:09:56 -05:00
Andrew Bartlett
0f215e9947 r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sids
to be created as foreign, even if they are in a local domain.

Also we do need the user to exist for the life of the test, as we add
it to a group.

Andrew Bartlett
(This used to be commit ae470ff701)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
6abc3e05b1 r16858: The RPC-SAMR-PASSWORDS test now passes.
Andrew Bartlett
(This used to be commit 8b34bb2689)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
f596c0a4ec r16852: I thought we passed RPC-SAMR-PASSWORDS, but we don't. Disable that
test for now.

Andrew Bartlett
(This used to be commit 9748c3a2f0)
2007-10-10 14:09:54 -05:00
Andrew Bartlett
90b744247f r16850: Disable NBT-WINSREPLICATION-OWNED until it always passes (currently it still has intermittant failures).
Andrew Bartlett
(This used to be commit 845da45117)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
ba968d6684 r16847: Add the parts of the SAMR test that pass back into 'make test'.
I still need to figure out what causes the rest to fail...

Andrew Bartlett
(This used to be commit aa34bd46cb)
2007-10-10 14:09:53 -05:00
Andrew Bartlett
86518acc49 r16835: Remove RPC-SAMR from the test, until I can clear up the unexplained failure.
Andrew Bartlett
(This used to be commit 666ac7e36c)
2007-10-10 14:09:49 -05:00
Andrew Bartlett
5e3ca4a733 r16828: Add RPC-LSA as a test that passes, and remove RAW-ACLs until someone
can fix it.

Andrew Bartlett
(This used to be commit 840b5f0a7f)
2007-10-10 14:09:48 -05:00
Andrew Bartlett
3c9281f014 r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There are
still a couple of unimplemented functions, but this is far better than
not testing this at all.  In particular, this exercises the
password_hash module.

Specific changes:
 - Add support for SetDomainInfo
 - Add many more info levels to QueryDomainInfo
 - Set a domain comment in RPC-SAMR, and verify it is kept
 - Refactor QueryUserInfo not to always serach for all attributes
 - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls
 - Make OemChangePassword2 search under the samdb_base_dn(), so it
   finds the user when partitions are active.
 - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and
  'Multiple' alias operations in RPC-SAMR for Samba4
 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow)

Andrew Bartlett
(This used to be commit 01d25c9d6c)
2007-10-10 14:09:46 -05:00
Stefan Metzmacher
2e56d833b4 r16739: test SMB2-GETINFO SMB2-SETINFO by make test
metze
(This used to be commit 0ebb25de56)
2007-10-10 14:09:43 -05:00
Stefan Metzmacher
c71aac4403 r16560: print out the correct value
metze
(This used to be commit 0e10282f89)
2007-10-10 14:09:34 -05:00
Jelmer Vernooij
1afab0e36f r16527: Add target argument for smbtorture.
Remove duplicate unc path separator conversion.
Add prefix for tempdirs.
(This used to be commit 3763ed3092)
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
993012bd2a r16525: Move selftest-specific code back to selftest.
(This used to be commit e659d77248)
2007-10-10 14:09:32 -05:00
Jelmer Vernooij
9b161bcb71 r16522: Move code to create the test data out of selftest.sh.
(This used to be commit 2c601df23f)
2007-10-10 14:09:32 -05:00
Stefan Metzmacher
de2fbad4d2 r16469: do some smb2 tests
metze
(This used to be commit 1ca34c9090)
2007-10-10 14:09:30 -05:00
Jelmer Vernooij
5ca6189505 r16039: Add missing #!, don't rely on bash
(This used to be commit f6e587e706)
2007-10-10 14:08:52 -05:00
Rafal Szczesniak
0bd3636a12 r15926: Add NET-API-DELETEUSER test to the standard tests run on 'make test'
rafal
(This used to be commit 5c2bc9a4f6)
2007-10-10 14:08:41 -05:00
Jelmer Vernooij
ae67b20623 r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
for 'put' and 'get' commands so we don't break them again.

Fixes #3742
(This used to be commit 141600a624)
2007-10-10 14:08:35 -05:00
Stefan Metzmacher
20389549f1 r15862: add a LOCAL-EVENT torture test
- it currently tests the standard events code
- with epoll enabled and disabled

metze
(This used to be commit ce5fd2293d)
2007-10-10 14:08:34 -05:00
Andrew Tridgell
0f881ff069 r15832: put a talloc leak report in the log file at the end of each test run
(This used to be commit 16c67e135a)
2007-10-10 14:08:30 -05:00
Rafal Szczesniak
669df64c34 r15785: Change the test names according to changes made in libnet torture test.
rafal
(This used to be commit 857993bfe4)
2007-10-10 14:08:20 -05:00
Stefan Metzmacher
47afa69496 r15684: fix option passing
metze
(This used to be commit c567d92f5b)
2007-10-10 14:08:05 -05:00
Rafal Szczesniak
ac4775c028 r15665: ejsnet test should be better now, after changes in delete
user routine.

rafal
(This used to be commit 9bb5415929)
2007-10-10 14:08:05 -05:00
Stefan Metzmacher
f344db9038 r15642: add an '--always-create' option to mkproto.pl
with this the proto headers will be always regenerated,
even if the content hasn't changed

you can use currently by
#>make MK_PROTO_ALWAYS_CREATE=yes'
or
#>export MK_PROTO_ALWAYS_CREATE=yes
#>make

metze
(This used to be commit 248d56af9d)
2007-10-10 14:07:26 -05:00
Rafal Szczesniak
48beed252c r15627: Disabling test of ejsnet till the time I find the reason why
it's segfaulting. It's late so I just don't want to keep the
build farm all in red PANIC messages.

rafal
(This used to be commit 6c41e64ce7)
2007-10-10 14:07:24 -05:00
Stefan Metzmacher
235b3dd9f8 r15622: pass 'target:samba4=yes' to samba4's smbtorture when running samba4's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba4

metze
(This used to be commit 430c7143c6)
2007-10-10 14:07:01 -05:00
Stefan Metzmacher
ee9108e11b r15619: use source/version.h again
I have removed the old files from the unpacked area,
so we should not get any problems on the build farm

metze
(This used to be commit a54f9a4fa8)
2007-10-10 14:07:01 -05:00
Andrew Tridgell
7947d4c425 r15517: fixed the segv in provision. The problem was that SAMBA_VERSION_STRING
was defined recursively as the mkversion.sh script was putting the new
version in the wrong spot
(This used to be commit 962afd362c)
2007-10-10 14:05:45 -05:00
Stefan Metzmacher
713f241edc r15513: only run 'svn info' and 'svk info' once
metze
(This used to be commit 82cd1de3fb)
2007-10-10 14:05:44 -05:00
Andrew Bartlett
721270ebad r15510: As discussed on samba-technical, move the VERSION system back to a
#define based system only.  This avoids allocation in the fault code.

Andrew Bartlett
(This used to be commit 31c97b4e67)
2007-10-10 14:05:44 -05:00
Andrew Bartlett
985e70189e r15486: Ensure that our Samba3-like implementation of fake-GSSAPI is tested.
This also tests that the server accepts the incorrect GSSAPI checksum,
and that we get the right session key.

Andrew Bartlett
(This used to be commit 888e2b7f4e)
2007-10-10 14:05:40 -05:00
Andrew Bartlett
5f4d86f955 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
(This used to be commit b3212d1fb9)
2007-10-10 14:05:36 -05:00
Tim Potter
635d385ea1 r15390: Make test output a bit prettier.
(This used to be commit 7e4d3bb818)
2007-10-10 14:05:31 -05:00
Jelmer Vernooij
cad3914619 r15378: Fix installheader script. Alexander, this will break installation of headers
for srcdir != builddir
(This used to be commit 527a40d80b)
2007-10-10 14:05:29 -05:00
Stefan Metzmacher
0c910a6e44 r15291: $f already has the $srcdir prefixed
metze
(This used to be commit db36bf4a32)
2007-10-10 14:05:03 -05:00
Stefan Metzmacher
daa7e47b43 r15275: run RPC-SRVSRV in make test
metze
(This used to be commit 4044d7959b)
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
91631d9b90 r15267: Fix call to mkdir() for old versions of perl. This should fix installation on
sun1.
(This used to be commit a56900a7a2)
2007-10-10 14:04:59 -05:00
James Peach
9d9e5abdce r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
(This used to be commit 1b8891a2f3)
2007-10-10 14:04:14 -05:00
Alexander Bokovoy
573b2f75fb r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d)
2007-10-10 14:04:08 -05:00
Alexander Bokovoy
9cf41988ff r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489)
2007-10-10 14:04:03 -05:00
Tim Potter
860a4ed444 r14971: Update test script with new location of tdb and ldb wrappers.
(This used to be commit 7794dcd096)
2007-10-10 14:00:48 -05:00
Stefan Metzmacher
c35f146d66 r14929: add some comments
metze
(This used to be commit 5d40e10d8e)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
bacf1152fc r14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps for
way too long). Jeremy, whats the idea behind those long sleeps?

its also redundent, as the RAW-MUX test already tests the sharing
violation open delay
(This used to be commit d63d113c8a)
2007-10-10 14:00:16 -05:00
Jelmer Vernooij
ccae1c47f0 r14908: Fix LD_LIBRARY_PATH
(This used to be commit c4668192f9)
2007-10-10 14:00:14 -05:00
Tim Potter
574c9fd685 r14878: Write swig wrappers for ldb_init() and ldb_connect().
Start wrapper for ldb_search().  Currently it returns a list of swig
ldb_message objects.  More unpacking of results required.
(This used to be commit 704787978a)
2007-10-10 14:00:11 -05:00
Tim Potter
e9cf4f3098 r14873: Add skeleton swig ldb interface.
(This used to be commit c6c759e19f)
2007-10-10 14:00:10 -05:00
Stefan Metzmacher
90de5b96a9 r14819: list all tests smbtorture offers and explicit list tests
for skipping

metze
(This used to be commit 127fe33c46)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
99beb7b329 r14815: BASE-DIR doesn't exists...
metze
(This used to be commit 711df01cc8)
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
d72f821aaa r14814: also run the BASE-DIR test with 'make test'
metze
(This used to be commit b52baadf22)
2007-10-10 13:59:23 -05:00
Tim Potter
4a1055dfda r14802: Fix typo.
(This used to be commit 757805f020)
2007-10-10 13:59:21 -05:00
Tim Potter
86971ff3b9 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
(This used to be commit 3dfd0959f7)
2007-10-10 13:59:20 -05:00
Jelmer Vernooij
a339d748eb r14740: Try loading shared libs from the bin/ directory (useful for running 'make test'
without developer mode)
(This used to be commit 3aafd09020)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
e095d9e32a r14738: do some different lookups
metze
(This used to be commit f61bd2e9a2)
2007-10-10 13:59:18 -05:00
Andrew Bartlett
a0effc9d04 r14717: Don't provision the system as 'localhost', but instead list localhost
as an alias.  The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.

Andrew Bartlett
(This used to be commit cc7c84bfc9)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
268a86e176 r14661: Install symlinks for shared libraries
(This used to be commit 3286636dbb)
2007-10-10 13:59:06 -05:00
Jelmer Vernooij
b5e849f22f r14607: Update mkproto.pl to only write out new header files if the contents changed.
(This used to be commit 06403ea2be)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
f200d553fb r14549: Use make-compatible syntax in extra_cflags.txt so we can avoid
cflags.pl when using GNU make
(This used to be commit 4354147f6b)
2007-10-10 13:58:43 -05:00
Jelmer Vernooij
f9ec6bfb98 r14534: Update doco
(This used to be commit 0944dca958)
2007-10-10 13:58:40 -05:00
Jelmer Vernooij
187628634f r14481: Change paths in headers on the fly when installing. Adds a simple text
file that contains the paths where headers need to be installed.
(This used to be commit c3d975f4dc)
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
43c7536883 r14479: Cope with _PUBLIC_ not being defined. Needed for when external projects
include this header.
(This used to be commit 9bfc3c2537)
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
3bb28c83e2 r14471: Convert installheader script to perl
(This used to be commit c6a478a1af)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
3cad0b87dc r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
(This used to be commit 2c7b62a861)
2007-10-10 13:57:07 -05:00
Jelmer Vernooij
6e8f1ffc7d r13982: Add support for prototypes spread across multiple lines. Try to keep line
empty after inserting new prototypes.
(This used to be commit d3a21b58d4)
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
98d4c63867 r13976: Add simple script for updating existing prototypes in a header file
(This used to be commit 265cfb39c3)
2007-10-10 13:52:33 -05:00
Stefan Metzmacher
324fcc27f9 r13964: make lp_* functions public
metze
(This used to be commit 2db081fd70)
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
ce3032cab8 r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be
available to users of the library can be explicitly exported by
prepending them with _PUBLIC_ in the C source.
(This used to be commit ea9988dfda)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
148403594b r13896: Get rid of 'use warnings' as it isn't very portable..
(This used to be commit fd6135aa85)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
f6457b3d54 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
(This used to be commit d512b147e8)
2007-10-10 13:52:18 -05:00
Andrew Tridgell
ce2c9f22e5 r13854: we now pass BASE-NEGNOWAIT
(This used to be commit d55db268ca)
2007-10-10 13:52:16 -05:00
Andrew Bartlett
77ffddec19 r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
The switch to turn off SPNEGO in the client is a bit messy, but it works.

Andrew Bartlett
(This used to be commit 085ba80cc8)
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
d4f44993bd r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs
(This used to be commit fb620c2706)
2007-10-10 13:52:09 -05:00
Andrew Tridgell
6b6f516a4a r13740: the BASE-DELETE test now passes, and is a quick test
(This used to be commit b6c2d1e0b9)
2007-10-10 13:52:08 -05:00
Jelmer Vernooij
dfc517b053 r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
(This used to be commit ba62880f5b)
2007-10-10 13:52:05 -05:00
Stefan Metzmacher
b518130be3 r13629: export env-vars
metze
(This used to be commit fbd78b6272)
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
a86518f160 r13628: fix the logic:-)
metze
(This used to be commit 7f1de54c84)
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
f2f3e1801b r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
(This used to be commit ae559920e1)
2007-10-10 13:52:02 -05:00
Andrew Bartlett
4515708b81 r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
(This used to be commit b0e7a58cc9)
2007-10-10 13:51:58 -05:00
Andrew Bartlett
e7630ebe47 r13472: After Volker's advise, try every combination of parameters. This
isn't every parameter on NTLMSSP, but it is most of the important
ones.

This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.

Andrew Bartlett
(This used to be commit 990da31b5f)
2007-10-10 13:51:54 -05:00
Andrew Bartlett
e45ce50a61 r13380: Drop the socket, then try SAMR operations secured with netlogon on the new socket.
We should also test netlogon operations, but there are issues with
what state is expected to be stored (far more than we currently do).

Andrew Bartlett
(This used to be commit 39ddba0d0d)
2007-10-10 13:51:51 -05:00
Simo Sorce
289a5994a9 r13355: check controls are correctly exported
(This used to be commit 07fa55db32)
2007-10-10 13:51:48 -05:00
Simo Sorce
3721bca79d r13354: Add tests to check that controls work properly
Fix asq module, add a second_stage_init to register with rootdse
Fix asq control ldap parsing routines (this was nasty to find out)
(This used to be commit 933a80397d)
2007-10-10 13:51:48 -05:00
James Peach
60f8666ae8 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.
(This used to be commit cd2f94a658)
2007-10-10 13:51:39 -05:00
Andrew Bartlett
b70009649a r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
(This used to be commit 8866aa06ff)
2007-10-10 13:51:37 -05:00
Andrew Bartlett
d778912c3a r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).
Andrew Bartlett
(This used to be commit ea0a53d679)
2007-10-10 13:51:36 -05:00
Jelmer Vernooij
713b296441 r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'
(This used to be commit e3d0676aee)
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
ad6303f82f r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
(This used to be commit 898d15acbd)
2007-10-10 13:51:34 -05:00
Jelmer Vernooij
4e3ee3f898 r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)
(This used to be commit 765991ab48)
2007-10-10 13:51:30 -05:00
Jelmer Vernooij
57d079e4b2 r13157: Fix installation of js files
(This used to be commit 2384dec6f2)
2007-10-10 13:51:30 -05:00
Jelmer Vernooij
415427b12c r13156: Add some tests for smbclient
(This used to be commit 861d45beda)
2007-10-10 13:51:30 -05:00
Andrew Bartlett
2f8b1050e1 r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
(This used to be commit 2c02a45d5a)
2007-10-10 13:51:29 -05:00
Stefan Metzmacher
ca649f797c r13112: merge over some stuff from samba3
metze
(This used to be commit 7cb4e1bd04)
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
36b1a0f82d r13079: add SAMBA_VERSION_RELEASE_NICKNAME
if it's set in source/VERSION

smbd --version will print
4.0.0tp1 (Nickname)

metze
(This used to be commit 780870293b)
2007-10-10 13:51:23 -05:00
Jelmer Vernooij
541d84f934 r13077: Allow the mkversion script to be used for technology preview releases
(This used to be commit 2636e6c948)
2007-10-10 13:51:22 -05:00
Andrew Bartlett
aecd9827c6 r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
(This used to be commit a88933668f)
2007-10-10 13:51:17 -05:00
Andrew Bartlett
867ae22a9b r12902: Fix 'make quicktest'.
Andrew Bartlett
(This used to be commit c2eca05074)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
58f78fa182 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
(This used to be commit a5e7c17c34)
2007-10-10 13:50:59 -05:00
Andrew Bartlett
0ac6b5232d r12874: Try to give the startup a few more seconds, so that hosts with
gnutls-devel installed do not miss the first test.

Andrew Bartlett
(This used to be commit 6e17864c5d)
2007-10-10 13:50:57 -05:00
Andrew Bartlett
b135f4467f r12858: This moves the libnet_LookupPdc code to use a GetDC request to find
the remote server's name, or in the absence of a local nbt_server to
communicate with (or without root access), a node status request.

The result is that we are in a better position to use kerberos, as well
as to remove the 'password server' mandatory parameter for the samsync
and samdump commands.  (I need this to put these into SWAT).

The only problem I have is that I must create a messaging context, which
requires a server ID.  As a client process, I don't expect to get
messages, but it is currently required for replies, so I generate a
random() number.  We probably need the servers to accept connections on
streamed sockets too, for client-only tasks that want IRPC.

Because I wanted to test this code, I have put the NET-API-* tests into
our test scripts, to ensure they pass and keep passing.  They are good
frontends onto the libnet system, and I see no reason not to test them.

In doing so the NET-API-RPCCONNECT test was simplified to take a
binding string on the command line, removing duplicate code, and
testing the combinations in the scripts instead.

(I have done a bit of work on the list shares code in libnet_share.c
to make it pass 'make test')

In the future, I would like to extend the libcli/findds.c code (based
off volker's winbind/wb_async_helpers.c, which is why it shows up a bit
odd in the patch) to handle getting multiple name replies, sending a
getdc request to each in turn.

(posted to samba-technical for review, and I'll happily update with
any comments)

Andrew Bartlett
(This used to be commit 7ccddfd351)
2007-10-10 13:50:54 -05:00
Stefan Metzmacher
3c2c57a711 r12831: add 'extern' to public prototypes
metze
(This used to be commit d4d2f011e2)
2007-10-10 13:50:03 -05:00
Andrew Tridgell
d0a851e889 r12812: speed up RPC-ECHO with validate some more, and re-enable it under
valgrind in 'make valgrindtest'
(This used to be commit b2030d527a)
2007-10-10 13:49:59 -05:00
Stefan Metzmacher
faeff2a169 r12806: tridge: in revision 12634 you introduced to validate the ndr_print output
and RPC-ECHO doesn't pass under valgrind anymore with this

metze
(This used to be commit 2482bf969d)
2007-10-10 13:49:58 -05:00
Stefan Metzmacher
042fcee4cd r12778: export TEST_DATA_PREFIX in make test
metze
(This used to be commit beea805a61)
2007-10-10 13:49:54 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 6391761601)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
19d606ce18 r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
(This used to be commit e71cd4778b)
2007-10-10 13:48:59 -05:00
Jelmer Vernooij
f71f21fa05 r12552: Remove use of Test::Harness - we're not printing the result summaries
on success anyway. Instead, call the scripts directly.
(This used to be commit a83a38eab2)
2007-10-10 13:47:56 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
10c183d9ae r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.

This should eventually make include/proto.h and include/structs.h obsolete.
(This used to be commit cdfd20fa17)
2007-10-10 13:47:51 -05:00
Stefan Metzmacher
1f8bb5bd85 r12509: make the output for the buildfarm nicer
metze
(This used to be commit f03170cc52)
2007-10-10 13:47:47 -05:00
Jelmer Vernooij
448483199f r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

	init_module_fn static_init[] = STATIC_AUTH_MODULES;
	init_module_fn *shared_init = load_samba_modules(NULL, "auth");

	run_init_functions(static_init);
	run_init_functions(shared_init);

	talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
(This used to be commit b6d2ad4ce0)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
7717f180ca r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
(This used to be commit 3a57d29a62)
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
620d375320 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
(This used to be commit 6967b98849)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
68ef82aac7 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'
(This used to be commit 975d8816db)
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
69a694d7ba r12449: Fix some warnings
(This used to be commit 95f6e49cb8)
2007-10-10 13:47:41 -05:00
Jelmer Vernooij
52728b7d41 r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
(This used to be commit e3466df6df)
2007-10-10 13:47:40 -05:00
Andrew Bartlett
a167713c3c r12373: Add RPC-JOIN as a test to always run.
Andrew Bartlett
(This used to be commit 42c58d4312)
2007-10-10 13:47:32 -05:00
Stefan Metzmacher
736543016e r12304: split out the wins partner configuration into a seperate ldb.
now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

metze
(This used to be commit baa4a7a9d4)
2007-10-10 13:47:28 -05:00
Stefan Metzmacher
8a2385c933 r12287: move the wins.ldb into lockdir
metze
(This used to be commit bcf04a49e3)
2007-10-10 13:47:27 -05:00
Jelmer Vernooij
4bc1cc52ec r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c8)
2007-10-10 13:47:25 -05:00
Jelmer Vernooij
efe67458c1 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit 4322962074)
2007-10-10 13:47:19 -05:00
Stefan Metzmacher
37cc5873e0 r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the NBT-WINSREPLICATION
test

metze
(This used to be commit 224dab45ab)
2007-10-10 13:47:06 -05:00
Andrew Tridgell
86a6ce529f r12009: made the LOCAL-SDDL test less verbose by default, and add it to the
standard tests for the build farm
(This used to be commit 9d6d9b6e50)
2007-10-10 13:46:58 -05:00
Andrew Tridgell
4544226935 r11818: - changed the option torture:echo_TestSleep=yes/no to the more generic
option torture:quick=yes/no. This should be used in all slow tests to
  enable a quick mode

- enabled the test_rpc_quick.sh tests in 'make quicktest'
(This used to be commit 180c209c1b)
2007-10-10 13:46:33 -05:00
Andrew Tridgell
5358763b41 r11659: allow the max runtime for smbtorture and smbd to be controlled on a
per-host basis in the build farm
(This used to be commit c8185fe414)
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
14b59bcbec r11555: - change socket_wrapper to support multiple IP's
- SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface
  for 127.0.0.X
- we now use multiple interfaces for smbtorture in make test
  127.0.0.26-127.0.0.31
- and 127.0.0.1 only for smbd

the are more work needed for better support for broacast messages...
but this is enough for the winsrepl tests

metze
(This used to be commit dbd01110d1)
2007-10-10 13:45:53 -05:00
Stefan Metzmacher
819744cab2 r11503: be quite...
metze
(This used to be commit e992119bf3)
2007-10-10 13:45:46 -05:00
Stefan Metzmacher
4f78115d6d r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICK
metze
(This used to be commit fc53eab2f1)
2007-10-10 13:45:44 -05:00
Andrew Bartlett
7915aa9725 r11442: Don't use BASE-NEGNOWAIT any more. It is a mostly meaningless test.
Andrew Bartlett
(This used to be commit c105112902)
2007-10-10 13:45:38 -05:00
Andrew Bartlett
a2b93c3f5f r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.
Andrew Bartlett
(This used to be commit 381c4f9fef)
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2)
2007-10-10 13:45:16 -05:00
Jelmer Vernooij
8955516c10 r11245: Hopefully fix heimdal build on some hosts
Fix manpage locations
(This used to be commit 33c71c0fb1)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
8d036f304e r11099: Replace unistr with [string] equivalent
(This used to be commit 6a8291c80e)
2007-10-10 13:44:49 -05:00
Stefan Metzmacher
9259f9ecc0 r11092: run NBT-WINSREPLICATION-QUICK test with make test
metze
(This used to be commit 2577c02a51)
2007-10-10 13:44:47 -05:00
Andrew Tridgell
92da5aa6b8 r10752: make sure we set the exist status correctly for the tdb tests
(This used to be commit e83635941c)
2007-10-10 13:39:26 -05:00
Andrew Tridgell
6566c9dffe r10643: increase smbd max runtime when using valgrind
(This used to be commit c394a4a602)
2007-10-10 13:39:14 -05:00
Andrew Bartlett
b0a5e91261 r10599: Use localhost again for now, until I trace where we are leaking name lookups.
Andrew Bartlett
(This used to be commit 23f834dd19)
2007-10-10 13:39:10 -05:00
Andrew Bartlett
e6fbd02b90 r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.

Andrew Bartlett
(This used to be commit a67b87cb6e)
2007-10-10 13:39:09 -05:00
Jelmer Vernooij
09ee7a470b r10582: Nicer output (try to avoid linewraps)
(This used to be commit 908b88843f)
2007-10-10 13:39:07 -05:00
Jelmer Vernooij
40a6f8f2b2 r10578: Run LOCAL-STRLIST by default
(This used to be commit 997eabee80)
2007-10-10 13:39:07 -05:00
Andrew Tridgell
190683f3e8 r10527: don't attempt self gdb attach if running under valgrind. This was
causing fort to get rather unhappy
(This used to be commit cc3e15e19c)
2007-10-10 13:39:01 -05:00
Andrew Bartlett
187fdaa91f r10520: The join is a nice quick RPC test.
Andrew Bartlett
(This used to be commit d50b543096)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
7f7a2d133d r10517: Get rid of use of next_token() in lib/samba3/
(This used to be commit 811a6e28cc)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
3d4ea18d4d r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h
(This used to be commit 703ffbaaac)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
4be0ae794e r10456: More SCons fixes:
- Add framework for fallback generating code
 - Move pread / pwrite replacement functions to libreplace
 - Support pidl builds correctly
 - Support asn1 builds correctly
 - Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b85f7857dc r10452: Couple of small scons updates - ignore .sconsign files
(This used to be commit b2d2b4f233)
2007-10-10 13:38:47 -05:00
Andrew Tridgell
d6de10b409 r10404: make sure we use the right smb.conf in the ldap testing
(This used to be commit aa30f8faa5)
2007-10-10 13:38:41 -05:00
Andrew Bartlett
1d4fcd40a6 r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we can
avoid DNS delays in our testsuite.  The next step will be to use
kerberos in the tests (awaits application of socketwrapper or hooks
into our socket layer).

Andrew Bartlett
(This used to be commit b9e9cca14e)
2007-10-10 13:38:38 -05:00
Andrew Bartlett
a388d683de r10314: Apply the controvertial 'server role =' patch after discussion on the list:
This patch removes the 'domain logon' and 'domain master' controls from
Samba4, in favour of a 'server role =' that users can actually
understand.

We can expand the list of roles as needed, and nobody has to figure out
what a 'domain master' actually means.

Andrew Bartlett
(This used to be commit 31e755c2ce)
2007-10-10 13:38:16 -05:00
Jelmer Vernooij
342d229b40 r10190: Do some very basic input checking when provisioning.
(This used to be commit 87f25fe49c)
2007-10-10 13:38:06 -05:00
Jelmer Vernooij
8b5a953725 r10111: Make pidl by default assume the input file is an IDL file rather
then a .pidl file.
(This used to be commit d8a31d3048)
2007-10-10 13:38:00 -05:00
Jelmer Vernooij
b19cc95a88 r9849: Extend testsuite a bit more.
(This used to be commit 5cbe1e6b70)
2007-10-10 13:36:17 -05:00
Jelmer Vernooij
0712cbdab4 r9834: More tests for the upgrade from Samba3
(This used to be commit d2db164d6f)
2007-10-10 13:36:17 -05:00
Jelmer Vernooij
d991196655 r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
(This used to be commit fb2fd8da10)
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
f58a74aaba r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
40f85ace04 r9813: Conver testsuite for samba3sam module to EJS
(This used to be commit 77f24ed131)
2007-10-10 13:35:04 -05:00
Andrew Tridgell
0a5126fd16 r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
make the selftest script a bit less existential
(This used to be commit f8a17063a2)
2007-10-10 13:35:00 -05:00
Jelmer Vernooij
e3dcc92dee r9684: Remove unused parameters (about 70)
(This used to be commit 4a51a31571)
2007-10-10 13:34:40 -05:00
Andrew Tridgell
4ab340d75d r9644: add LOCAL-PAC to the list of 'make test' tests
(This used to be commit 13185f468f)
2007-10-10 13:34:36 -05:00
Jelmer Vernooij
47843f2b64 r9591: - Remove empty file
- Fix a couple of typo's
- Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h...
(This used to be commit b8c5290063)
2007-10-10 13:34:33 -05:00
Andrew Tridgell
b19ad7281e r9493: our test scripts need to use testok at the end or the errors don't annumulate between scripts
this is why the GetOptions bug wasn't caught by 'make test'
(This used to be commit 20a14b9b35)
2007-10-10 13:34:21 -05:00
Jelmer Vernooij
59b13f9a1d r9460: - Move pidl to lib/. This fixes standalone installation of pidl.
- Update the README
- Allow building the docs stand-alone
(This used to be commit b56084ce25)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
efc03df292 r9459: Move pidl up one level (to prevent too much nesting)
(This used to be commit e48202275e)
2007-10-10 13:34:17 -05:00
Andrew Tridgell
9465b8de07 r9379: the valgrind test box is now just going past the max 30 minute smbd
runtime for testing. Increased to 45 minutes.
(This used to be commit 4fd4362609)
2007-10-10 13:33:30 -05:00
Andrew Tridgell
80f75d4138 r9377: made winreg a user tool (I find it quite useful). I expect it to get the ability
to add/remove keys and values in the future.

add it to the standard tests, ensuring that we know if winreg
breaks. This is particularly important as winreg uses such unusual IDL
constructs
(This used to be commit e4ca36bda3)
2007-10-10 13:33:30 -05:00
Andrew Tridgell
5bf803ff82 r9346: allow test_ldap.sh to be called when $CONFFILE is not set
(This used to be commit 3ad02091f6)
2007-10-10 13:33:26 -05:00
Tim Potter
c04b6ada5f r9297: Add a NDR_CHECK() around each ejs push/pull.
Some experimentation with the top level function calls.
(This used to be commit e8d53d15e4)
2007-10-10 13:33:22 -05:00
Tim Potter
ca1b2eae77 r9296: Reinstate generation of push/pull functions for each field in a struct
or union.
(This used to be commit 72420f24e6)
2007-10-10 13:33:22 -05:00
Tim Potter
c1f165d6e9 r9295: Tridge had some good suggestions for simplifying the smb_interfaces ejs
code.  I will try and get just the push/pull functions working rather than
getting in a mess with trying to do everything at once.
(This used to be commit a7504ebf95)
2007-10-10 13:33:21 -05:00
Tim Potter
a1ca088901 r9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.
Add some code to try and work out whether a smb_interface requires a
TALLOC_CTX in the function signature.  I'm not sure whether this is
going to work as the raw api is a bit inconsistent I think.
(This used to be commit 13a101653e)
2007-10-10 13:33:21 -05:00
Stefan Metzmacher
efd0d2a0da r9260: only overwrite destination files when the temp files was created correct
metze
(This used to be commit b5626c978f)
2007-10-10 13:33:20 -05:00
Stefan Metzmacher
597e4234d0 r9258: return is only supported in function, not in plain shell scripts
metze
(This used to be commit 3b99c36857)
2007-10-10 13:31:38 -05:00
Tim Potter
4b93e377cd r9220: Start trying to get autogenerated code to compile.
- Split out push/pull of top level elements into separate functions.

 - Remove _t from simple type names.
(This used to be commit c419eef1c9)
2007-10-10 13:31:32 -05:00
Tim Potter
ac4c941b77 r9207: Start generating ejs_push/pull calls for structure elements.
(This used to be commit 8ff27a1eff)
2007-10-10 13:31:30 -05:00
Tim Potter
16cc2aa58e r9205: Generate more stub code for smb_raw ejs functions.
(This used to be commit 3407490121)
2007-10-10 13:31:30 -05:00
Tim Potter
febfcd33ec r9202: OK now we are getting somewhere. Generate js stubs for top level structs
and each arm of top level unions.  Don't generate a header file (duh) as
the namespace stuff is done in the module init.
(This used to be commit dde7f8be97)
2007-10-10 13:31:30 -05:00
Tim Potter
7dfaea15b3 r9199: Another go at recursive flattening of structs.
(This used to be commit a6541a0702)
2007-10-10 13:31:30 -05:00
Tim Potter
3824a0caa8 r9191: Generate headers for nested structures that need pushing or pulling.
(This used to be commit c56a530d3b)
2007-10-10 13:31:29 -05:00
Tim Potter
d8a490ab1b r9185: Make second pass over the parser tree and tidy things up to make it a
bit easier for the code generator.
(This used to be commit a6f1f251e8)
2007-10-10 13:31:29 -05:00
Andrew Tridgell
dab115f69f r9137: fixed installswat to handle the deep directory structure of qooxdoo
(This used to be commit b1f0b7b12b)
2007-10-10 13:31:21 -05:00
Tim Potter
53c38c5ca6 r9129: Start working on nested anonymous structures and unions. A better
design is starting to become clearer.  (-:
(This used to be commit 23b9f8f3b5)
2007-10-10 13:31:19 -05:00
Tim Potter
94e5cafff2 r9124: Handle more types pointers to simple types.
(This used to be commit acd34c1cac)
2007-10-10 13:31:19 -05:00
Andrew Tridgell
370016c0d2 r9120: added the BASE-DISCONNECT test to our set of standard tests
(This used to be commit a6e2e6e1ba)
2007-10-10 13:31:18 -05:00
Tim Potter
2d9d6c4689 r9102: Generate files in $srcdir/libcli/gen_raw instead of $srcdir.
Start fixing compile problems in generated output.
(This used to be commit e85b938ea0)
2007-10-10 13:31:16 -05:00
Tim Potter
daaf771498 r9099: Start generating code to pull/push fields. Generate functions to call
the smb_raw_foo() calls.
(This used to be commit 39dfabe66d)
2007-10-10 13:31:16 -05:00
Tim Potter
9cea63d757 r9092: Generate some more stub functions.
(This used to be commit 301dd7b78b)
2007-10-10 13:31:16 -05:00
Tim Potter
36a2b36177 r9089: Start generating module init and top level ejs functions for smb_interfaces.
(This used to be commit 0aee33c3de)
2007-10-10 13:31:15 -05:00
Jelmer Vernooij
586838c306 r9052: Support lex/yacc compilers without support for -o
(This used to be commit e641d3a847)
2007-10-10 13:31:12 -05:00
Lars Müller
df9b8edff5 r9038: Revert svn rev 414. Discussed with Jerry and Metze.
We need the option to add an 'a' if we're already in pre or rc state
with the next release.

Bugzilla Bug 2618
(This used to be commit 8e2be770ae)
2007-10-10 13:31:10 -05:00
Tim Potter
4216c18f34 r8934: Some refactoring of smb_interfaces code generator.
(This used to be commit c016487a01)
2007-10-10 13:30:58 -05:00
Tim Potter
30c3c77306 r8925: Start generating header and implementation files for smb_interfaces.h
(This used to be commit 3a93f11255)
2007-10-10 13:30:58 -05:00
Tim Potter
e3374bb48d r8910: An initial parser to parse structures in smb_interfaces.h. This will be
used to generate ejs objects for making raw smb calls.

Running 'make smb_interfaces' should run the build_smb_interfaces.pl
script which at the moment only displays a dump of the parsed data.
Const is also not working right now but it's bedtime.
(This used to be commit 1be5f55d7f)
2007-10-10 13:30:57 -05:00
Andrew Tridgell
457261e2a2 r8885: fixed shell syntax
(This used to be commit 00ea1f38a3)
2007-10-10 13:30:15 -05:00
Andrew Tridgell
6732229ccc r8884: valgrind error logs only matter if non-zero in size
(This used to be commit baaad4f4a4)
2007-10-10 13:30:15 -05:00
Andrew Tridgell
5525b2e8b7 r8882: - enable the domain master
- start adding support for showing valgrind results in build farm tests
(This used to be commit b1d0e9fa4e)
2007-10-10 13:30:14 -05:00
Jelmer Vernooij
5b94a9583f r8806: Move data representation-independent data into seperate header
(This used to be commit 26e1fdf630)
2007-10-10 13:30:06 -05:00
Jelmer Vernooij
2c306f9af7 r8803: Rename --header to --ndr-header and --parser to --ndr-parser
(This used to be commit d292ab7ca6)
2007-10-10 13:30:06 -05:00
Jelmer Vernooij
21ba94c7be r8801: Change --output to --outputdir and make pidl add a data representation prefix
to pidl itself. Useful for supporting other data representation types.
(This used to be commit 5af68a0476)
2007-10-10 13:30:06 -05:00
Andrew Bartlett
493fd92b20 r8772: Include the ldap ejs test in the standard 'make test'
Andrew Bartlett
(This used to be commit 4ade880dcf)
2007-10-10 13:30:03 -05:00
Andrew Tridgell
126c673136 r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
(This used to be commit 519812a9e8)
2007-10-10 13:30:00 -05:00
Andrew Tridgell
5637940838 r8680: try harder to find the binary for gdb in the backtrace
(This used to be commit e84871dd32)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
a369f0ecaf r8678: setup for gdb backtrace in 'make test'
(This used to be commit acf8c8fd49)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
a78558321a r8671: use much shorter names for the selftest directory and socket wrapper
code. I'm afraid this is needed by irix 6.4 which silently truncates
names in unix domain sockets in recvfrom() to 16 chars. My apologies
for having to move to such short names :-(
(This used to be commit f9693e313d)
2007-10-10 13:29:52 -05:00
Andrew Tridgell
238a7e2f4c r8642: - fixed install of new swat files
- removed old provisioning items from esptest menu
(This used to be commit 760cc6bea5)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
524044a64a r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, and
add it to our test suite so it will be maintained
(This used to be commit 42ae50db81)
2007-10-10 13:29:47 -05:00
Andrew Tridgell
594b76264f r8626: fixed a typo
(This used to be commit 3083d494e2)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
f3d61cc615 r8576: install scripts from scripting/bin/
(This used to be commit a64490d1e5)
2007-10-10 13:29:40 -05:00
Jelmer Vernooij
762a6a14e8 r8559: Couple of (D)COM updates:
- Fixes annoying array-of-pointers bug in pidl.
 - No longer "inherit" alignment thru subcontexts
 - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see
(This used to be commit bd706d4964)
2007-10-10 13:29:38 -05:00