From: Russ Dill Date: Tue, 24 Apr 2012 02:43:00 +0000 (-0700) Subject: ktest.pl: Fix combined usage of BISECT_REVERSE and BISECT_SKIP X-Git-Tag: v3.4-rc6~28^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5158ba3ea7fc8c3deafec769a32bc6eb869c3608;p=pandora-kernel.git ktest.pl: Fix combined usage of BISECT_REVERSE and BISECT_SKIP When BISECT_REVERSE and BISECT_SKIP are used together with boot or test testing, build failures are treated as boot or test failures and 'git bisect bad' is executed instead of 'git bisect skip'. This is because the $ret value of -1 is treated as a build failure, but the $reverse_bisect logic does not properly handle this. Simple fix, only invert it if it is positive. Link: http://lkml.kernel.org/r/1335235380-8509-1-git-send-email-Russ.Dill@ti.com Signed-off-by: Russ Dill Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed