mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-16 12:34:32 +00:00
ostree rebase: for update tests, check we deployed custom ref
This checks we actually deployed the 'fedora-openqa' ref as we intended to (if not, the rebase test probably won't work properly or won't test what we want it to). Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
d07b5a4178
commit
e8df07813b
@ -23,6 +23,9 @@ sub run {
|
|||||||
|
|
||||||
# get current branch
|
# get current branch
|
||||||
my $current = script_output "rpm-ostree status -b | grep fedora";
|
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"));
|
my $arch = lc(get_var("ARCH"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user