Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1217176

ktest reboot on each test

From dwalker@fifo99.com
Newsgroups linux.kernel
Subject ktest reboot on each test
Date 2015-09-02 01:50 +0200
Message-ID <q43tn-4H0-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

ktest reboot on each test dwalker@fifo99.com - 2015-09-02 01:50 +0200

csiph-web