mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
Change checking nfs mount for PowerPC
by direct grep of mount command because nfs mounting not traced in ananconda or packaging log. Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
9fe10f6715
commit
f3878c4380
@ -20,8 +20,14 @@ sub run {
|
||||
$repourl =~ s/^nfsvers=.://;
|
||||
# the above both checks if we're dealing with an NFS URL, and
|
||||
# strips the 'nfs:' and 'nfsvers=.:' from it if so
|
||||
# message is in packaging.log up to F26, anaconda.log F27+
|
||||
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log /tmp/anaconda.log";
|
||||
if (get_var("OFW")) {
|
||||
# for PowerPC mounting info may be not in anaconda.log
|
||||
assert_script_run "mount |grep nfs |grep '${repourl}'";
|
||||
}
|
||||
else {
|
||||
# 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