diff --git a/tests/rpmostree_rebase.pm b/tests/rpmostree_rebase.pm index ab52282d..24668706 100644 --- a/tests/rpmostree_rebase.pm +++ b/tests/rpmostree_rebase.pm @@ -23,6 +23,9 @@ sub run { # get current branch my $current = script_output "rpm-ostree status -b | grep fedora"; + if (get_var("ADVISORY_OR_TASK")) { + die "Expected 'fedora-openqa' ref not deployed!" unless ($current =~ m/fedora-openqa/); + } my $arch = lc(get_var("ARCH"));