From a664c108175cc74a7097a80bb2e89bfd7f466af4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 13 Dec 2022 11:36:28 -0800 Subject: [PATCH] _check_install_source: drop branches for EOL releases Thankfully this all calmed down a bit so we can simplify it a lot. Clean things up a bit at the same time; escaping nested single quotes is a lot clearer than concatening blocks with different quote marks. Signed-off-by: Adam Williamson --- tests/_check_install_source.pm | 42 +++++++--------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/tests/_check_install_source.pm b/tests/_check_install_source.pm index 732a26fa..5f224cfa 100644 --- a/tests/_check_install_source.pm +++ b/tests/_check_install_source.pm @@ -28,17 +28,11 @@ sub run { # "repo addrepo" is older format from before Fedora 37, # "Add the 'addrepo" is newer format from F37+ assert_script_run 'grep "\(repo \|Add the \'\)addrepo.*' . ${addrepourl} . '" /tmp/packaging.log'; - # ...this line tells us it added the repo called 'addrepo' (