summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2023-08-14tests: Fix code spellingAndreas Schneider2-2/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-03-03tests: Fix old-style function definitionsJoseph Sutton2-2/+2
These files are included into the source3/wscript configure checks and so need to avoid C89 features otherwise they may cause an incorrect configure failure. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15281 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-02-18readlink test: inverse return codeBjörn Jacke1-4/+7
We need to return 0 in case readlink is *broken* here - this is because our waf CHECK_CODE function does only allow generating defines in case the test succeeds BUG: https://bugzilla.samba.org/show_bug.cgi?id=13631 Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-02-17tests/sysquotas.c: include jfs/quota.h for 4B test on AIXBjoern Jacke1-0/+4
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
2019-02-17tests/quota: tidy up includes of sysquotas 4BBjoern Jacke1-4/+2
Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
2019-01-29tests: don't rely on implicit int return typeDavid Disseldorp5-5/+5
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Jan 29 03:47:27 CET 2019 on sn-devel-144
2018-07-24lib/util: rename USE_LINUX_THREAD_CREDENTIALS to HAVE_LINUX_THREAD_CREDENTIALSRalph Boehme1-1/+1
The define reflects the results of a feature test, not a configure option. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2016-03-17smbd: remove quota support for some ancient OSsUri Simchoni1-60/+1
Remove quota support for SunOS4 and VxFS on Solaris 2 Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2016-03-15build: improve comments in tests/oldquotas.cUri Simchoni1-20/+20
Add comments to #else and #endif Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 15 02:18:15 CET 2016 on sn-devel-144
2016-03-13build: fix disk-free quota support on Solaris 10Uri Simchoni1-0/+174
Samba has no code to support quota on Solaris 10 (and possibly other os's such as AIX) using the new quota interface. The new interface serves both disk size/free space reporting (clamping the underlying file system numbers with quota), and direct manipulation of the user's quota. However, there's legacy code that supports only disk size/free space on Solaris 10. In the waf build, this code is not compiled because there is no test for it. This patch adds a test to see whether the legacy code can be used. Issue reported and fix tested by Andrew Morgan <morgan@orst.edu>. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11788 Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sun Mar 13 01:37:58 CET 2016 on sn-devel-144
2016-02-23lib: Remove sys_waitpidVolker Lendecke1-5/+0
We have waitpid in libreplace Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-04-15auth: Remove support for HAVE_TRUNCATED_SALT from pass_check.cAndrew Bartlett1-851/+0
The comments indicate that this was needed for HP-UX at one point, but the configure code was never ported to WAF. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Apr 15 12:32:09 CEST 2014 on sn-devel-104
2014-02-12build: don't execute tests/summary.cGustavo Zacarias1-9/+5
tests/summary.c will never be able to be executed when cross compiling. Use #error and #warning directives to fail or warn accordingly when compiling it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
2012-09-29build: Fix quota tests, including move of sysquotas.c to the top levelAndrew Bartlett1-0/+90
This correctly detects quotas on FreeBSD Andrew Bartlett
2012-07-12test: fix compile warning on test summaryBjörn Jacke1-1/+1
2012-06-29Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison1-1/+1
AIO lost wakeup problem. See this post: https://lists.samba.org/archive/samba-technical/2012-June/085101.html for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
2012-04-05build: Fix bitrotted configure summary, we now also test HAVE_IFACE_GETIFADDRSAndrew Bartlett1-1/+1
2012-04-05build: Restore configure summary checkingAndrew Bartlett1-1/+0
This was accidentily lost in: commit b1ce226af8b61ad7e3c37860a59c6715012e738b Author: James Peach <jpeach@samba.org> Date: Fri Jun 15 21:58:49 2007 +0000 r23510: Tidy calls to smb_panic by removing trailing newlines. Print the failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2012-04-05build: Add more assertions that fcntl locking works 64-bitAndrew Bartlett1-4/+15
2012-04-05build: Remove configure tests for *64 functions and typesAndrew Bartlett2-98/+2
We now use the standard types only. Andrew Bartlett
2010-01-21s3: Fix bug 7052: "DFS broken on AIX (maybe others)"William Jojo1-1/+1
2009-05-08Fix bug #6330 - DFS doesn't work on AIX. Jeremy.Jeremy Allison1-0/+33
2009-02-11Fix Coverity ID 519 (NEGATIVE_RETURNS)Volker Lendecke1-0/+4
2009-01-22Move configure test files to the top-level and share them between s3 andJelmer Vernooij11-0/+1411
s4.