From: Serguei Smirnov Date: Sat, 26 Sep 2020 17:23:21 +0000 (-0700) Subject: LU-13998 tests: sanityn test_104 incorrect MDT times shown X-Git-Tag: 2.13.57~148 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=a2472e78cb2bed129120b45266694674de8d2d0f 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 --- 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]} ]] ||