standalone: Correct arguments to JobDB flight_create
PATCH 1/1 standalone: Correct arguments to JobDB flight_create
The real jobdb takes $intended and $branch in the other order, meaningthat the standalone db ends up with them backwards.
--- Osstest/JobDB/Standalone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Osstest/JobDB/Standalone.pm +1 -1
@@ -56,7 +56,7 @@ sub open ($) { } sub flight_create ($$$) { - my ($obj, $branch, $intended) = @_; + my ($obj, $intended, $branch) = @_; my $fl = $ENV{'OSSTEST_FLIGHT'}; $fl = 'standalone' unless defined $fl && length $fl; die "flight names may not contain ." if $fl =~ m/\./;
Signature · 1 line
1.8.5.2
Ian Campbell writes ("[PATCH OSSTEST] standalone: Correct arguments to JobDB flight_create"):
Quoted 2 lines
The real jobdb takes $intended and $branch in the other order, meaningthat the standalone db ends up with them backwards.
*blrfhl*
Quoted 5 lines · Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] standalone: Correct arguments to JobDB
flight_create"):Quoted 2 lines
The real jobdb takes $intended and $branch in the other order, meaningthat the standalone db ends up with them backwards.
*blrfhl*
Quite! I suppose it doesn't matter mcuh in standalone mode because I didn't actually see anything in practice, just I manually did 'select branch frmo flights' and got "play"...
Quoted 1 line
Acked-by Ian Jackson <[email protected]>
Thanks, I've pushed this to pretest.
Ian.