From a63437527c56afcc6ae9a71de12a5c2a1c5f5e85 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 26 May 2020 19:04:57 -0700 Subject: [PATCH] upgrade_preinstall: use UP1REL not CURRREL Signed-off-by: Adam Williamson --- tests/upgrade_preinstall.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/upgrade_preinstall.pm b/tests/upgrade_preinstall.pm index 7ae6765c..47d9e4b2 100644 --- a/tests/upgrade_preinstall.pm +++ b/tests/upgrade_preinstall.pm @@ -6,7 +6,7 @@ use utils; sub run { my $self = shift; # upgrader should be installed on up-to-date system - my $version = get_var("CURRREL"); + my $version = get_var("UP1REL"); # ok this is dumb but I need to fix it fast and can't think of a # better way in a hurry. We want the pre-upgrade release version. my $testname = get_var("TEST");