selftest: add disk-free quota tests
commitb0f727534b062e3c2d73a18cbe039860999e30c5
authorUri Simchoni <uri@samba.org>
Thu, 26 May 2016 19:52:09 +0000 (26 22:52 +0300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Jun 2016 10:51:18 +0000 (1 12:51 +0200)
tree33c2e7ffd4aa22ed5d3f20afbf0464a0088c43f7
parent76abfe79178a73e74485000129f065ab41fd6b51
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>
(cherry picked from commit de2d624d071c338b356824d3b30ab2c9075c8528)
selftest/knownfail
source3/script/tests/test_dfree_quota.sh