Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libarchive PR kern/55272: do not skip this test on...



details:   https://anonhg.NetBSD.org/src/rev/e274804fffa7
branches:  trunk
changeset: 959588:e274804fffa7
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Feb 19 18:36:50 2021 +0000

description:
PR kern/55272: do not skip this test on single cpu machines - it is not
the only test causing the watchdog starvation and we better find and
fix the real issue.

diffstat:

 tests/lib/libarchive/t_libarchive.sh |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r e5427d9ceba3 -r e274804fffa7 tests/lib/libarchive/t_libarchive.sh
--- a/tests/lib/libarchive/t_libarchive.sh      Fri Feb 19 18:10:51 2021 +0000
+++ b/tests/lib/libarchive/t_libarchive.sh      Fri Feb 19 18:36:50 2021 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: t_libarchive.sh,v 1.7 2020/08/28 18:46:05 christos Exp $
+#       $NetBSD: t_libarchive.sh,v 1.8 2021/02/19 18:36:50 martin Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -41,10 +41,6 @@
        if [ $m -lt 400 ]; then
                atf_skip "Not enough RAM"
        fi
-       local ncpu=$( sysctl -n hw.ncpuonline )
-       if [ $ncpu -lt 2 ]; then
-               atf_skip "PR kern/55272: too dangerous to run this test"
-       fi
        local d=$(atf_get_srcdir)
        atf_check -s exit:0 -o 'not-match:^Details for failing tests:.*' \
            "$d/h_libarchive" -r "$d"



Home | Main Index | Thread Index | Old Index