mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-16 10:11:26 +00:00
Check for NFS repo message in anaconda.log too
It seems to have moved there in F27.
This commit is contained in:
parent
ee2a3daefd
commit
d119e1e53e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user