From f4e2e5f84a63e08fd0614b2d53b5d0495bb37719 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Tue, 27 May 2025 00:08:26 -0400 Subject: [PATCH] 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 --- 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 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" -- 1.8.3.1