Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net tests: extract all kernel logs, not just a panic m...



details:   https://anonhg.NetBSD.org/src/rev/7fa8b2b33d8a
branches:  trunk
changeset: 461929:7fa8b2b33d8a
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Jul 18 04:22:22 2019 +0000

description:
tests: extract all kernel logs, not just a panic message, from rump_server.core

diffstat:

 tests/net/net_common.sh |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b8542b7708de -r 7fa8b2b33d8a tests/net/net_common.sh
--- a/tests/net/net_common.sh   Thu Jul 18 04:00:09 2019 +0000
+++ b/tests/net/net_common.sh   Thu Jul 18 04:22:22 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: net_common.sh,v 1.31 2019/05/13 17:55:08 bad Exp $
+#      $NetBSD: net_common.sh,v 1.32 2019/07/18 04:22:22 ozaki-r Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -389,7 +389,8 @@
 
        if [ -f rump_server.core ]; then
                gdb -ex bt /usr/bin/rump_server rump_server.core
-               strings rump_server.core |grep panic
+               # Extract kernel logs including a panic message
+               strings rump_server.core |grep -E '^\[.+\] '
        fi
 }
 



Home | Main Index | Thread Index | Old Index