Whamcloud - gitweb
LU-17969 tests: don't use hard coded mount path for quota testing 04/55504/2
authorJames Simmons <jsimmons@infradead.org>
Sat, 22 Jun 2024 12:25:29 +0000 (08:25 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Jul 2024 20:11:53 +0000 (20:11 +0000)
On setup for quota testing sanity-quota assumes the mount path
is always /mnt/lustre. This is not always true so update to
$MOUNT.

Fixes: 7e1fb1a296e ("LU-17179 tests: check the system is clean")
Test-Parameters: trivial testlist=sanity-quota
Change-Id: I2c1fbf5f8f38b4c508137b2c6e956d47031e9c12
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55504
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh

index 68ba28d..236d145 100755 (executable)
@@ -564,7 +564,7 @@ wait_quota_synced() {
 check_system_is_clean() {
        local used
 
-       lfs quota -uv $TSTUSR /mnt/lustre
+       lfs quota -uv $TSTUSR $MOUNT
        for cur in "curspace" "curinodes";
        do
                used=$(getquota -u $TSTUSR global $cur)