1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/tests
Uri Simchoni 0a9acd445d 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
2016-03-13 01:37:58 +01:00
..
fcntl_lock_thread.c lib: Remove sys_waitpid 2016-02-23 22:03:16 +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
getgroups.c
oldquotas.c build: fix disk-free quota support on Solaris 10 2016-03-13 01:37:58 +01:00
readlink.c s3: Fix bug 7052: "DFS broken on AIX (maybe others)" 2010-01-21 14:21:26 +01:00
README
shared_mmap.c
shlib.c
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

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