Andreas Schneider
7585aa6c8f
testsuite: Add cmocka unit test for smb_krb5_kt_open()
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec 16 05:43:12 CET 2016 on sn-devel-144
2016-12-16 05:43:10 +01:00
Jelmer Vernooij
3123e2c66a
Simplify handling of dependencies on external libraries in test_headers.
...
Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
2016-01-13 04:43:22 +01:00
Stefan Metzmacher
54ea6ff788
testsuite/headers: remove unused checks for ntdb.h
...
ntdb is already removed.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
2015-07-21 19:04:15 +02:00
Volker Lendecke
334015ebca
autobuild: Remove ntdb target
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-03-17 11:30:51 +01:00
Volker Lendecke
89052936ae
Remove ntdb from scripts
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-03-17 11:30:51 +01:00
Ira Cooper
38de110b02
third_party/popt: Initial support for popt.
...
ctdb, ldb, and samba are supported builds for third_party popt.
Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-08-09 18:26:17 +02:00
Andreas Schneider
69b3a0cb3f
testsuit: Fix fprintf format.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-11-15 11:07:40 -08:00
Jeremy Allison
821bd95156
Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.
...
Will allow thread-specific credentials to be added by modifying
the central definitions. Deliberately left the setXX[ug]id()
call in popt as this is not used in Samba.
2012-06-28 17:15:16 -07:00
Rusty Russell
1fe797aada
ntdb: put it back into the build.
...
This doesn't do anything with it yet, just wires it back into the build.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:07 +02:00
Andrew Bartlett
9712912dfc
testsuite/libsmbclient: Remove unused and expensive-to-link testsuite
...
This testsuite never got off the ground, and unlike the other
libsmbclient tests, it is not integrated into make test, has no driver
script we could integrate.
As it has been in this state for 10 years, and adding it to the compile
did not find any link-time issues (particularly in comparison to the
link-time cost for so many individual binaries), I am now removing them.
The libsmbclient examples are seperate to this, and remain in
examples/libsmbclient.
Andrew Bartlett
2012-05-02 10:53:51 +10:00
Amitay Isaacs
cac9bfe475
testsuite: Replace deprecated bzero with memset
...
This fixes build issues on solaris reported in bug #8767 .
https://bugzilla.samba.org/show_bug.cgi?id=8767
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Feb 29 10:39:10 CET 2012 on sn-devel-104
2012-02-29 10:39:09 +01:00
Andrew Bartlett
62a66b00b6
testsuite: Remove unused and unlikely to be revived DejaGNU tests
2011-12-12 12:57:08 +01:00
Günther Deschner
ef87630594
s3-libsmbclient: make some functions static in testsuite code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 25 17:57:25 CEST 2011 on sn-devel-104
2011-10-25 17:57:25 +02:00
Andrew Bartlett
3ae478be0f
build: compile (but do not install) all the libsmbclient tests
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Oct 20 13:49:39 CEST 2011 on sn-devel-104
2011-10-20 13:49:39 +02:00
Rusty Russell
ca1936fbb2
tdb_compat: use tdb_open_compat.
...
This is a helper for the common case of opening a tdb with a logging
function, but it doesn't do all the work, since TDB1 and TDB2's log
functions are different types.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:35 +02:00
Volker Lendecke
ce9d63d161
s3: Remove the smbtorture3 OPLOCK3 test
...
This is the last user of cli_receive_smb. Oplocks are nowadays tested
in smbtorture4, this mainly has historic value
2011-05-22 21:07:40 +02:00
Andrew Tridgell
46384cf60a
headers: cope with non-system popt in test_headers
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 16 09:09:40 CET 2011 on sn-devel-104
2011-03-16 09:09:40 +01:00
Andrew Tridgell
3cfa8216b9
headers: include Python.h first to avoid warnings
2011-03-16 08:23:25 +01:00
Andrew Tridgell
72ca88d604
build: fixed cflags for test_header
...
when using system libraries, we need the right cflags
2011-03-15 12:22:20 +11:00
Andrew Tridgell
ba9ae79e0b
build: added automated testing of our public headers
...
we generate test_headers.h, which includes all of our public headers,
and check it compiles
2011-03-15 12:22:19 +11:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Lars Müller
8e26aa3d7c
testsuite/libsmbclient use source3 in the path of the C and LFLAGS
2010-01-28 00:44:04 +01:00
Lars Müller
97c4c63990
Link testsuite/libsmbclient against required libtdb and libwbclient
2010-01-28 00:38:04 +01:00
Bo Yang
238bf25af4
s3: add a test to test libsmbclient
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-08 06:26:43 +08:00
Slava Semushin
3f5403220f
testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition.
...
When fopen() fails it return NULL, so condition where return value
less than zero never evaluated to truth.
Found by cppcheck.
2009-06-06 22:45:02 +02:00
todd stecher
989ad44d32
Memory leaks and other fixes found by Coverity
2009-01-21 17:13:03 -08:00
Kai Blin
c88cbbfdf3
vlp: Move closer to the code tested.
2008-10-19 15:03:22 +02:00
Michael Adam
199eb31cc9
vlp: fix an implicit cast compile warning.
...
Michael
(This used to be commit bf46f614c497110dcc3fc79f610fcc7a8784dbb2)
2008-04-10 01:11:31 +02:00
Kai Blin
5c1e5b30a5
vlp: Build vlp (virtual line printer) against current git on make
...
everything.
(This used to be commit 212ab58a3a7f03bb97c6ad3430e2776f9faba7c9)
2007-12-11 11:53:57 +01:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Andrew Tridgell
28b9d61076
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
(This used to be commit 727a6cf2cba8da6b40610409b264e86e6908eb0c)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
9fa1c63578
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
5b4c4181b4
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
...
(This used to be commit e87bb12093dc78eb539fac0a171379a8cb5cd416)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
34bb47c9b0
r23791: found some more v2->v3 conversions
...
(This used to be commit b6cbac3db3b478d5c7991cee78c6695fc8d22681)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
58e9534300
r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit d0e89d246d8e5e64196d6c1d16d39a70579ca42f)
2007-10-10 12:28:23 -05:00
Jeremy Allison
2a9b4da0fa
r23780: Find and fix more GPL2 -> GPL3.
...
Jeremy.
(This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10 12:28:21 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Lars Müller
b372fd2cff
r14317: Use source/bin as dir to link pam_winbind instead of source/nsswitch/
...
The intention is to have the resulting binaries at one place. This is
also usefull for upcoming changes to provide a test_pammodules rule.
With these changes I even got aware of
testsuite/nsswitch/pam_winbind_syms.exp But this only covers
pam_winbind.
(This used to be commit 9883957b74ddefb5293e4aef0cc2f53ee4d417ac)
2007-10-10 11:15:24 -05:00
Derrell Lipman
7a8ee79925
r6501: correct deprecated lvalue casts in testsuite/libsmbclient
...
(This used to be commit 6d22c3c3434812d3a6ab7f216bec34cdb3b622a0)
2007-10-10 10:56:43 -05:00
Günther Deschner
9e9ef914ac
r3709: Allow to build testsuite for libsmbclient when libsmbclient.so is
...
located not in -L/root/samba-head-old/source/bin.
Patch from Lars Mueller <lmuelle@suse.de>, closes Bugzilla #2013 .
Guenther
(This used to be commit 0a02eac76714ada5192c238416013f68eb4e63d5)
2007-10-10 10:53:15 -05:00
Gerald Carter
931df5850e
r39: * importing .cvsignore files
...
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)
2007-10-10 10:51:05 -05:00
Herb Lewis
be1b3604ef
source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
...
in prs_init now
testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails
as the prs structure has not been initialized
(This used to be commit a363e5d8c549861329506bd87c11d82ace5520e5)
2004-01-14 22:53:50 +00:00
Andrew Bartlett
c35ff0e328
We might not have the 'samba' directory in the samba_3_0 build.
...
Andrew Bartlett
(This used to be commit a5cf5701e25e93e4e837f7cdc30a8603d289e4a9)
2004-01-08 08:44:39 +00:00
Tim Potter
72de1cd0f7
Fix typo in RW2 torture test. Closes bugzilla bug #924 .
...
(This used to be commit d22313998abff680d38b208588824a1981fe2aa7)
2004-01-05 02:57:33 +00:00
Andrew Bartlett
ffcb57e1be
Without 'non unix accounts' we can't test security=domain on the build farm.
...
(This used to be commit c8485d3f00727fb363b45e48581eeb0b0b0cb851)
2003-12-04 03:55:12 +00:00
Andrew Bartlett
7c23573a50
Grr, the order of these arguments matters
...
(This used to be commit 6babc35ef9c62a48a56ef63945d09e7e06229666)
2003-07-01 09:27:02 +00:00
Andrew Bartlett
95cb680393
Make smbpasswd use the higher log level for the second run - this should
...
help us debug failures in smbpasswd.
Andrew Bartlett
(This used to be commit dcdbd530a6c74ecf09a96067c40be5813dd646c8)
2003-07-01 07:29:23 +00:00
Andrew Tridgell
9501ddeb10
changed 'winbind uid' to 'idmap uid' in build farm tests
...
(This used to be commit 4a2a54cd68faf6c86994679a8f5d309f55d29544)
2003-06-07 00:27:15 +00:00
Andrew Bartlett
834612d9fc
Fix up the build-farm testsuite again - I forgot to move some files into the
...
template dir, and idra's checkin removed smbpasswd_nua.
Andrew Bartlett
(This used to be commit a7b34564ae4615c2585a82aa248a9cf92905254d)
2003-05-12 21:56:52 +00:00
Andrew Bartlett
75c7d3147e
Fix up the setting up of the build_farm smb.conf from the templates in their
...
new directory.
Andrew Bartlett
(This used to be commit 98f7ccebeb9369c972b432a8ac0a5853cd7a1bf6)
2003-05-04 00:55:52 +00:00