diff --git a/tests/_check_install_source.pm b/tests/_check_install_source.pm index 0cb22f8a..360d9971 100644 --- a/tests/_check_install_source.pm +++ b/tests/_check_install_source.pm @@ -19,7 +19,9 @@ sub run { # check that the repo was used $self->root_console; - if ($addrepourl) { + # inst.addrepo doesn't actually work in < F29, so don't check it + my $version = lc(get_var("VERSION")); + if ($addrepourl && ($version eq 'rawhide' || $version > 28)) { if ($addrepourl =~ m,^nfs://,,) { # this line tells us it set up a repo for our URL... assert_script_run 'grep "repo addrepo.*' . ${addrepourl} . '" /tmp/packaging.log';