1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-25 19:53:08 +00:00

Check for NFS repo message in anaconda.log too

It seems to have moved there in F27.
This commit is contained in:
Adam Williamson 2017-07-10 10:21:57 -07:00
parent ee2a3daefd
commit d119e1e53e

View File

@ -19,7 +19,8 @@ sub run {
if ($repourl =~ s/^nfs://) {
# the above both checks if we're dealing with an NFS URL, and
# strips the 'nfs:' from it if so
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log";
# message is in packaging.log up to F26, anaconda.log F27+
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log /tmp/anaconda.log";
}
else {
assert_script_run "grep \"added repo: 'anaconda'.*${repourl}\" /tmp/packaging.log";