selftest: add disk-free quota tests
authorUri Simchoni <uri@samba.org>
Thu, 26 May 2016 19:52:09 +0000 (22:52 +0300)
committerJeremy Allison <jra@samba.org>
Fri, 27 May 2016 18:36:06 +0000 (20:36 +0200)
commitde2d624d071c338b356824d3b30ab2c9075c8528
tree8de2a02e38d3e9e116b65557e8a5b52facdca8ef
parentb5ac30e96ede7a68bc191b983b068b62cbc160ec
selftest: add disk-free quota tests

Add a test for situation where quota accounting is enabled
but quota enforcement is disabled (disk-free should not take
quota into account)

Add a test for situation where overall quota status reporting
(whether or not it's enforcing) is not supported - as with NFS.
In that case it must be assumed that if quota is configured, then
it is also enforced (as with NFS).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11937

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
source3/script/tests/test_dfree_quota.sh