Work around an anaconda logging bug that showed up today

https://github.com/rhinstaller/anaconda/pull/1519 should fix it
on the anaconda side, till that's merged, we need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-28 15:13:06 -07:00
parent b6a3a58798
commit 1c1b33840f

View File

@ -41,8 +41,12 @@ sub run {
# text 'anaconda' at the level of grep, as the string we're # text 'anaconda' at the level of grep, as the string we're
# actually matching on literally has 'anaconda' in it. We need # actually matching on literally has 'anaconda' in it. We need
# (added|enabled) till F28 goes EOL: the log line was changed # (added|enabled) till F28 goes EOL: the log line was changed
# in Rawhide after F28 came out. # in Rawhide after F28 came out. ('anaconda'|'') is a work
assert_script_run 'grep "\(added\|enabled\) repo: ' . "'anaconda'.*${repourl}" . '" /tmp/packaging.log'; # around for an anaconda bug that only appears in F29-era
# Rawhide, can be removed when a build with
# https://github.com/rhinstaller/anaconda/pull/1519
# is done.
assert_script_run 'grep "\(added\|enabled\) repo: ' . "\\('anaconda'\\|''\\).*${repourl}" . '" /tmp/packaging.log';
} }
send_key "ctrl-alt-f6"; send_key "ctrl-alt-f6";