From: James Nunez Date: Fri, 6 Oct 2017 19:53:03 +0000 (-0600) Subject: LU-10101 tests: correct sanity-quota call to quota_error X-Git-Tag: 2.10.55~27 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=6ce91e9e9503390ef6c8d817ceed5afbf1d41124 LU-10101 tests: correct sanity-quota call to quota_error sanity-quota test 7e calls quota_error with a "-u" argument. Input to quota_error should not be prefaced with "-". Test-Parameters: trivial testgroup=review-zfs-part-1,review-dne-part-2 Signed-off-by: James Nunez Change-Id: Iac84e3fb2348588a157beefcf4d554b1ac3171ed Reviewed-on: https://review.whamcloud.com/29358 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Saurabh Tandan Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 33a73d2..a6dff5d 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1482,7 +1482,7 @@ test_7e() { # hardlimit should be cleared on slave during reintegration $RUNAS createmany -m $TESTFILE $((ilimit + 1)) || - quota_error -u $TSTUSR "create failed, expect success" + quota_error u $TSTUSR "create failed, expect success" $RUNAS unlinkmany $TESTFILE $((ilimit + 1)) || error "unlink failed" rmdir $DIR/${tdir}-1 || error "unlink remote dir failed"