From 7876812eecc2dd850946f6ab655575c78aea919a Mon Sep 17 00:00:00 2001 From: Adam Kankovsky Date: Thu, 7 Nov 2024 14:47:59 +0100 Subject: [PATCH] Separate prefixes in the test for more coverage --- script-pre-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script-pre-install.sh b/script-pre-install.sh index 7f6ce32c..fc2a96c8 100755 --- a/script-pre-install.sh +++ b/script-pre-install.sh @@ -38,8 +38,8 @@ validate() { fi # Check for the specific error message in the virt-install.log - if ! grep -q "kickstart.script: Error code 1 running the kickstart script" "${disksdir}/virt-install.log"; then - echo '*** ERROR: Expected error message "kickstart.script: Error code 1 running the kickstart script" not found in virt-install.log.' + if ! grep -q "Error code 1 running the kickstart script" "${disksdir}/virt-install.log"; then + echo '*** ERROR: Expected error message "Error code 1 running the kickstart script" not found in virt-install.log.' status=1 fi