From 8ad0c0dd34255c5f4f52e2c13623a74eaf9303da Mon Sep 17 00:00:00 2001 From: James Simmons Date: Sat, 22 Jun 2024 08:25:29 -0400 Subject: [PATCH] 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 --- lustre/tests/sanity-quota.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.8.3.1