selftest: add disk-free and quota tests based on fake_dfq VFS module
authorUri Simchoni <uri@samba.org>
Wed, 6 Jan 2016 10:59:06 +0000 (12:59 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 14:58:11 +0000 (15:58 +0100)
commitf71761c47a4c3b160b60c25a56e01a7a887992ab
tree0786d86fdbfae07941a7f12320d47728797845c9
parent540dcfae6bf36d5c3e07be3aca66b71c0400cae7
selftest: add disk-free and quota tests based on fake_dfq VFS module

These tests use the vfs_fake_dfq module to simulate some
relations between the quota status and disk-free status.

The tests will become meaningful when we take the code that
does those calculations out of the VFS layer - the tests will
then exercise the server code.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
selftest/selftesthelpers.py
selftest/target/Samba3.pm
source3/script/tests/test_dfree_quota.sh [new file with mode: 0755]
source3/selftest/tests.py