From 0b828358741e7d2cbe6d0856e39078ebb2448bd3 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 31 May 2024 13:02:24 +0200 Subject: [PATCH] Fix the grep regexp for sshdconfig Vim now ships sshdconfig for ftplugin too, which makes current grep regexp fail. Fix it by specifying the path further... --- .../runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Regression/bz820331-Vim-syntax-file-for-sshdconfig-is-missing-newer/runtest.sh b/Regression/bz820331-Vim-syntax-file-for-sshdconfig-is-missing-newer/runtest.sh index 9b13d16..9ba61d1 100755 --- a/Regression/bz820331-Vim-syntax-file-for-sshdconfig-is-missing-newer/runtest.sh +++ b/Regression/bz820331-Vim-syntax-file-for-sshdconfig-is-missing-newer/runtest.sh @@ -49,7 +49,7 @@ RHEL8_BLACKLIST="RequiredAuthentications1 RequiredAuthentications2 AuthorizedKey rlJournalStart rlPhaseStartSetup rlAssertRpm $PACKAGE - FILE=$(rpm -ql vim-common | grep sshdconfig.vim$) + FILE=$(rpm -ql vim-common | grep 'syntax/sshdconfig.vim$') rlAssertExists "$FILE" || rlDie "vim-common doesn't include syntax file for sshd_config" shopt -s compat31 #for \\b rlPhaseEnd