lkml.org 
[lkml]   [2011]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/9] ktest: Start failure timeout on panic too
    From: Steven Rostedt <srostedt@redhat.com>

    Currently we just look for a Call Trace to start the time out
    when to reboot the box. But if the kernel panics and does not
    show a Call Trace, the test will not reboot the box after
    the specified timeout.

    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
    ---
    tools/testing/ktest/ktest.pl | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
    index 3e3615a..6620fe4 100755
    --- a/tools/testing/ktest/ktest.pl
    +++ b/tools/testing/ktest/ktest.pl
    @@ -820,6 +820,7 @@ sub monitor {
    }

    if ($full_line =~ /Kernel panic -/) {
    + $failure_start = time;
    $bug = 1;
    }

    --
    1.7.2.3



    \
     
     \ /
      Last update: 2011-03-08 16:29    [W:0.025 / U:57.968 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site