lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1290080980.30543.92.camel@gandalf.stny.rr.com>
Date:	Thu, 18 Nov 2010 06:49:40 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Jon Masters <jcm@...hat.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	corbet <corbet@....net>, Jake Edge <jake@....net>,
	Mauro Carvalho Chehab <mchehab@...radead.org>,
	lmr@...hat.com, Greg Kroah-Hartman <gregkh@...e.de>,
	autotest@...t.kernel.org, Vivek Goyal <vgoyal@...hat.com>,
	Clark Williams <williams@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...radead.org>,
	Tim Bird <tim.bird@...sony.com>
Subject: Re: [ANNOUNCE v2] ktest.pl: Easy and flexible testing script for
 Linux Kernel Developers (now with config bisect)

On Thu, 2010-11-18 at 02:03 -0500, Jon Masters wrote:
> On Mon, 2010-11-08 at 18:45 -0500, Steven Rostedt wrote:
> 
> > It compiles, and performs the type of test specified by the
> > CONFIG_BISECT_TYPE option (build, boot or test). If it passes, then all
> > the configs that were enabled in the .config are removed from the
> > configs to test and added to the good configs to always enable. This
> > allows for configs in the other half to be enabled if they depended on
> > these configs.
> 
> Haven't had time to play, but I was thinking about this when bisecting
> an i915 bug last week. In that case none of the kernels failed to boot,
> they just had busted modelines. Do you have support in this tool for
> testing some condition on the system after it boots? I would guess I
> probably would have needed something more heavyweight (that could run a
> script to look for busted modes on the target after booting).

If you set:

BISECT_TYPE = test
TEST = ssh user@...t test_script

Where the test_script resides on the test target, and will exit with 0
on success and non-0 otherwise, it should work.

I could also change the code to give you access to the bootlog (actually
you already have it, but it's in the temp directory).

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ