From: Ian Campbell Subject: [PATCH OSSTEST] standalone: Correct arguments to JobDB flight_create Date: Tue, 21 Jan 2014 16:45:40 +0000 Message-ID: <1390322740-961-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org The real jobdb takes $intended and $branch in the other order, meaningthat the standalone db ends up with them backwards. Signed-off-by: Ian Campbell --- Osstest/JobDB/Standalone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/JobDB/Standalone.pm b/Osstest/JobDB/Standalone.pm index d3ff1df..14293ef 100644 --- a/Osstest/JobDB/Standalone.pm +++ b/Osstest/JobDB/Standalone.pm @@ -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/\./; -- 1.8.5.2