From 1949400a8843a6852fa9661f3dafa7d471144742 Mon Sep 17 00:00:00 2001 From: Li Xi Date: Mon, 25 Mar 2024 10:20:35 +0800 Subject: [PATCH] LU-17669 test: using unintialized variable in sanity:160n This patch fix a simple typo of unintialized variable. Fixes: d813c75df ("LU-14688 mdt: changelog purge deletes plain llog") Test-Parameters: trivial testlist=sanity env=ONLY=160n Change-Id: I2e29cce33733c925dfe9a53c06af7ac17b2c6be3 Signed-off-by: Li Xi Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54549 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alexander Boyko Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c2ec956..7fd3bd2 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -18724,7 +18724,6 @@ test_160n() { skip "Need MDS version at least 2.14.51" local cl_users local cl_user1 - local cl_user2 local pid1 local first_rec local last_rec=0 @@ -18763,9 +18762,9 @@ test_160n() { pid1=$! sleep 2 __changelog_clear mds1 $cl_user1 0 || - error "fail to cancel record for $cl_user1" + error "fail to cancel record for $cl_user1 (forground)" wait $pid1 - [[ $? -eq 0 ]] || error "fail to cancel record for $cl_user2" + [[ $? -eq 0 ]] || error "fail to cancel record for $cl_user1 (background)" } run_test 160n "Changelog destroy race" -- 1.8.3.1