Whamcloud - gitweb
LU-16668 tests: sanity-quota/75 add missing param to quota_error 24/50424/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Mon, 27 Mar 2023 06:11:31 +0000 (11:41 +0530)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Apr 2023 14:39:32 +0000 (14:39 +0000)
quota_error() takes three parameters. Add missing parameters
to one of the instance of quota_error() which only two params
were passed.

Test-Parameters: trivial testlist=sanity-quota env=ONLY=75
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I660a4be2d65e7800812db1817614dcb1b38ee483
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50424
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh

index 8789429..386178a 100755 (executable)
@@ -5379,8 +5379,8 @@ test_75()
 
        # mmap write when over soft limit
        limit=$soft_limit
-       $DD of=$testfile count=${limit} ||
-               quota_error a  "root write failure, but expect success (1)"
+       $DD of=$testfile count=${limit} || quota_error a $TSTUSR \
+                       "root write failure, but expect success (1)"
        OFFSET=$((limit * 1024))
        cancel_lru_locks osc