This allows cs-adjust-flight to be run by hand to adjust runvars, in a
flight being used with hand-invocation of ./ts-* scripts.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Tested-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v17: Better documentation of running: flight status
v14: New patch
# <dst-flight>:
# <flight>
# new:<intended-blessing>
+# running: uses OSSTEST_FLIGHT (flight referred to
+# must be blessed `running' or `constructing')
#
# options:
# -v verbose - list changes to stderr
verbose_discard();
changes();
});
+ } elsif ($dstflightspec =~ m/^running:$/) {
+ $dstflight = $ENV{OSSTEST_FLIGHT} // die;
+ db_retry($dstflight,[qw(constructing running)],
+ $dbh_tests, [qw(flights)], sub {
+ verbose_discard();
+ changes();
+ });
} elsif ($dstflightspec =~ m/^new:/) {
my $intended = $'; #';
db_retry($dbh_tests, [qw(flights)], sub {