Whamcloud - gitweb
LU-17786 tests: use $TSTUSR instead of hard coding quota_usr 40/54940/2
authorJames Simmons <jsimmons@infradead.org>
Fri, 26 Apr 2024 22:26:46 +0000 (18:26 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 21 May 2024 18:46:07 +0000 (18:46 +0000)
commit17c8de2b7378aa2da710b4842d71f22761ac6d3b
tree2ee6c8ff92cdd0aadf0a33852f6b31a36dcd1225
parente3a9d87370c4ccc58d1d3a97ea1b221d88f9e57a
LU-17786 tests: use $TSTUSR instead of hard coding quota_usr

The bash function check_system_is_clean() hard codes the user.
For many external system due to security we can't create special
users so use $TSTUSR instead that can already exits for us.

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