Module Name:    src
Committed By:   martin
Date:           Fri Feb 19 18:36:50 UTC 2021

Modified Files:
        src/tests/lib/libarchive: t_libarchive.sh

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libarchive/t_libarchive.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libarchive/t_libarchive.sh
diff -u src/tests/lib/libarchive/t_libarchive.sh:1.7 src/tests/lib/libarchive/t_libarchive.sh:1.8
--- src/tests/lib/libarchive/t_libarchive.sh:1.7	Fri Aug 28 18:46:05 2020
+++ src/tests/lib/libarchive/t_libarchive.sh	Fri Feb 19 18:36:50 2021
@@ -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 @@ libarchive_body()
 	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"

Reply via email to