From: Oleg Drokin Date: Tue, 27 May 2025 04:08:26 +0000 (-0400) Subject: LU-15358 tests: Escape quote symbols in sanityn test 26b X-Git-Tag: 2.16.56~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f4e2e5f84a63e08fd0614b2d53b5d0495bb37719;p=fs%2Flustre-release.git LU-15358 tests: Escape quote symbols in sanityn test 26b Shellcheck highlights that those quotes are actually unquoting the variables. And looking at prior code we really try to ensure you can tell which one is which even when some of them are empty or have spaces. Test-Parameters: trivial Signed-off-by: Oleg Drokin Change-Id: I2cdd0dcc1bce59b397f928cffeb790c74d8dc311 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59444 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index cb0d9fe..e98b83e 100755 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -1082,7 +1082,7 @@ test_26b() { mt2=`stat -c %Y $DIR2/$tfile` if [ x"$mt1" != x"$mt2" ]; then - error "not equal mtime, client1: "$mt1", client2: "$mt2"." + error "not equal mtime, client1: \"$mt1\", client2: \"$mt2\"." fi } run_test 26b "sync mtime between ost and mds"