From: James Simmons Date: Sat, 22 Jun 2024 12:25:29 +0000 (-0400) Subject: LU-17969 tests: don't use hard coded mount path for quota testing X-Git-Tag: 2.15.65~123 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8ad0c0dd34255c5f4f52e2c13623a74eaf9303da;p=fs%2Flustre-release.git LU-17969 tests: don't use hard coded mount path for quota testing 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 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55504 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Timothy Day Reviewed-by: Andreas Dilger Reviewed-by: Sergey Cheremencev Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 68ba28d..236d145 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -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)