From: Uri Simchoni Date: Fri, 27 May 2016 18:40:06 +0000 (+0300) Subject: selftest: remove test for EDQUOT returned from quota backend X-Git-Tag: tdb-1.3.10~1039 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d02489ff19184751d2213d419f85f48c6ad78e3;p=thirdparty%2Fsamba.git selftest: remove test for EDQUOT returned from quota backend Remove a test for special handling of EDQUOT errno when determining user/group quota - If the backend has obtained the quota settings it has to return 0 and not error. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison --- diff --git a/source3/script/tests/test_dfree_quota.sh b/source3/script/tests/test_dfree_quota.sh index d36530d2d86..ab28a07dc06 100755 --- a/source3/script/tests/test_dfree_quota.sh +++ b/source3/script/tests/test_dfree_quota.sh @@ -48,8 +48,6 @@ confdfq3:df:block size = 4096:disk free = 10:disk size = 80 confdfq3:u$uid:block size = 4096:hard limit = 40:soft limit = 40:cur blocks = 0 confdfq4:df:block size = 4096:disk free = 10:disk size = 80 confdfq4:u$uid:block size = 4096:hard limit = 40:soft limit = 40:cur blocks = 37 -edquot:df:block size = 4096:disk free = 10:disk size = 80 -edquot:u$uid:block size = 4096:hard limit = 40:soft limit = 40:cur blocks = 41:edquot = 1 slimit:df:block size = 4096:disk free = 10:disk size = 80 slimit:u$uid:block size = 4096:hard limit = 44:soft limit = 40:cur blocks = 42 hlimit:df:block size = 4096:disk free = 10:disk size = 80 @@ -170,7 +168,6 @@ test_smbclient_dfree "Test dfree share root df vs quota case 4" "." "confdfq4 ." test_smbclient_dfree "Test dfree subdir df vs quota case 4" "subdir1" "confdfq4 subdir1" "160 1024. 12" -U$USERNAME%$PASSWORD --option=clientmaxprotocol=SMB3 || failed=`expr $failed + 1` #quota-->disk free special cases -test_smbclient_dfree "Test quota->dfree edquot" "subdir1" "edquot subdir1" "164 1024. 0" -U$USERNAME%$PASSWORD --option=clientmaxprotocol=SMB3 || failed=`expr $failed + 1` test_smbclient_dfree "Test quota->dfree soft limit" "subdir1" "slimit subdir1" "168 1024. 0" -U$USERNAME%$PASSWORD --option=clientmaxprotocol=SMB3 || failed=`expr $failed + 1` test_smbclient_dfree "Test quota->dfree hard limit" "subdir1" "hlimit subdir1" "180 1024. 0" -U$USERNAME%$PASSWORD --option=clientmaxprotocol=SMB3 || failed=`expr $failed + 1` test_smbclient_dfree "Test quota->dfree inode soft limit" "subdir1" "islimit subdir1" "148 1024. 0" -U$USERNAME%$PASSWORD --option=clientmaxprotocol=SMB3 || failed=`expr $failed + 1`