From: Oleg Drokin Date: Sat, 11 Jun 2022 04:28:19 +0000 (-0400) Subject: LU-15931 tests: Escape * in log() X-Git-Tag: 2.15.51~58 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=e3a4dc406f6d429f5535cb8d3a86004991c61b26;hp=bc69a8d058f5bcdb75e062df57a6ccd23243d1e0 LU-15931 tests: Escape * in log() So it does not print every file name in test description in dmesg Test-Parameters: trivial testlist=sanity env=ONLY=160s Fixes: f60b307c50 ("LU-14699 mdd: proactive changelog garbage collection") Signed-off-by: Oleg Drokin Change-Id: I300fde0f71ef15a5c6573a67324944ba8d53f8e3 Reviewed-on: https://review.whamcloud.com/47597 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Mike Pershin Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 3727f63..7c25003 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -6754,6 +6754,7 @@ log() { local MSG="$*" # Get rid of ' MSG=${MSG//\'/\\\'} + MSG=${MSG//\*/\\\*} MSG=${MSG//\(/\\\(} MSG=${MSG//\)/\\\)} MSG=${MSG//\;/\\\;}