1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/tests
Uri Simchoni 36b0b0ec87 build: fix disk-free quota support on Solaris 10
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

(cherry picked from commit 0a9acd445d)
2016-03-15 20:29:34 +01:00
..
fcntl_lock_thread.c Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
fcntl_lock.c build: Add more assertions that fcntl locking works 64-bit 2012-04-05 02:39:09 +02:00
ftruncate.c Fix Coverity ID 519 (NEGATIVE_RETURNS) 2009-02-11 12:20:42 +01:00
getgroups.c Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
oldquotas.c build: fix disk-free quota support on Solaris 10 2016-03-15 20:29:34 +01:00
readlink.c s3: Fix bug 7052: "DFS broken on AIX (maybe others)" 2010-01-21 14:21:26 +01:00
README Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
shared_mmap.c Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
shlib.c Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00
summary.c build: don't execute tests/summary.c 2014-02-12 12:37:31 +13:00
sysquotas.c build: Fix quota tests, including move of sysquotas.c to the top level 2012-09-29 14:50:00 +10:00
trivial.c Move configure test files to the top-level and share them between s3 and 2009-01-22 11:35:28 +01:00

This directory contains autoconf test programs that are too large to
comfortably fit in configure.in.

These programs should test one feature of the OS and exit(0) if it
works or exit(1) if it doesn't work (do _not_ use return)

The programs should be kept simple and to the point. Beautiful/fast
code is not necessary