From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751568AbbIAXsV (ORCPT ); Tue, 1 Sep 2015 19:48:21 -0400 Received: from ec2-54-201-57-178.us-west-2.compute.amazonaws.com ([54.201.57.178]:35672 "EHLO ip-172-31-12-36.us-west-2.compute.internal" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750717AbbIAXsU (ORCPT ); Tue, 1 Sep 2015 19:48:20 -0400 X-Greylist: delayed 598 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 Sep 2015 19:48:20 EDT Date: Tue, 1 Sep 2015 16:35:57 -0700 From: dwalker@fifo99.com To: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Subject: ktest reboot on each test Message-ID: <20150901233557.GB21660@fifo99.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Steven, I was playing with ktest.pl and I found that it reboots after each test. What I wanted to do was to boot the system with one TEST_START section, then leave it booted. I would have additional TEST_START sections which would run on the already booted target. The only way I see to do that is to override the reboot and powercycling options so that when it attempts to reboot it's just a nop. Is that the only way to do this or is there something I'm missing ? I also have these set, REBOOT_ON_SUCCESS = 0 REBOOT_ON_ERROR = 0 POWEROFF_ON_ERROR = 0 POWEROFF_ON_SUCCESS = 0 but every TEST_START seems to reboot regardless. It seems to be in the sub monitor , it calls reboot_to() which ends up rebooting. Any help appreciated. Daniel