From b17b1128000be68c84dfe7879b625f399236e1c0 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 12 Jan 2022 14:28:32 -0800 Subject: [PATCH] _check_install_source: adapt to anaconda changing logs, again anaconda changed the repository add code (again) and so the log messages changed (again). We're now tracking three variations from --- tests/_check_install_source.pm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tests/_check_install_source.pm b/tests/_check_install_source.pm index 7d40f61b..ab243237 100644 --- a/tests/_check_install_source.pm +++ b/tests/_check_install_source.pm @@ -26,8 +26,11 @@ sub run { if ($addrepourl =~ m,^nfs://,,) { # this line tells us it set up a repo for our URL... assert_script_run 'grep "repo addrepo.*' . ${addrepourl} . '" /tmp/packaging.log'; - # ...this line tells us it added the repo called 'addrepo'... - assert_script_run 'grep "\(added\|enabled\) repo: .addrepo." /tmp/packaging.log'; + # ...this line tells us it added the repo called 'addrepo' (