From a2472e78cb2bed129120b45266694674de8d2d0f Mon Sep 17 00:00:00 2001 From: Serguei Smirnov Date: Sat, 26 Sep 2020 10:23:21 -0700 Subject: [PATCH] LU-13998 tests: sanityn test_104 incorrect MDT times shown sanityn test_104 prints STAT times instead of MDT times. Fix it so it prints both for comparison. Test-Parameters: trivial testlist=sanityn Signed-off-by: Serguei Smirnov Change-Id: I4ae0c1fe704c02c3463043830783cd1d6cd46b98 Reviewed-on: https://review.whamcloud.com/40061 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Nunez --- lustre/tests/sanityn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index 0e8cdd5..5a70f3b 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -5109,7 +5109,7 @@ check_mdt_xtimes() local mdt_xtimes=($(get_mdt_xtimes $mdtdev)) echo "STAT a|m|ctime ${xtimes[*]}" - echo "MDT a|m|ctime ${xtimes[*]}" + echo "MDT a|m|ctime ${mdt_xtimes[*]}" [[ ${xtimes[0]} == ${mdt_xtimes[0]} ]] || error "$DIR/$tfile atime (${xtimes[0]}:${mdt_xtimes[0]}) diff" [[ ${xtimes[1]} == ${mdt_xtimes[1]} ]] || -- 1.8.3.1