Tue Jan 28 18:18:32 2020 UTC ()
Bump timeout to 3600 - the libarchive tests take quite a while to
complete (on a nearly 1 GHz dual armv7 machine it takes more than 700s)


(martin)
diff -r1.1 -r1.2 src/tests/lib/libarchive/t_libarchive.sh

cvs diff -r1.1 -r1.2 src/tests/lib/libarchive/t_libarchive.sh (expand / switch to unified diff)

--- src/tests/lib/libarchive/t_libarchive.sh 2020/01/17 16:24:03 1.1
+++ src/tests/lib/libarchive/t_libarchive.sh 2020/01/28 18:18:32 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: t_libarchive.sh,v 1.1 2020/01/17 16:24:03 christos Exp $ 1# $NetBSD: t_libarchive.sh,v 1.2 2020/01/28 18:18:32 martin Exp $
2# 2#
3# Copyright (c) 2020 The NetBSD Foundation, Inc. 3# Copyright (c) 2020 The NetBSD Foundation, Inc.
4# All rights reserved. 4# All rights reserved.
5# 5#
6# Redistribution and use in source and binary forms, with or without 6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions 7# modification, are permitted provided that the following conditions
8# are met: 8# are met:
9# 1. Redistributions of source code must retain the above copyright 9# 1. Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer. 10# notice, this list of conditions and the following disclaimer.
11# 2. Redistributions in binary form must reproduce the above copyright 11# 2. Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the 12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution. 13# documentation and/or other materials provided with the distribution.
14# 14#
@@ -20,26 +20,27 @@ @@ -20,26 +20,27 @@
20# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25# POSSIBILITY OF SUCH DAMAGE. 25# POSSIBILITY OF SUCH DAMAGE.
26# 26#
27 27
28atf_test_case libarchive 28atf_test_case libarchive
29 29
30libarchive_head() 30libarchive_head()
31{ 31{
32 atf_set "descr" "test libarchive" 32 atf_set "descr" "test libarchive"
 33 atf_set "timeout" "3600"
33} 34}
34 35
35libarchive_body() 36libarchive_body()
36{ 37{
37 local d=$(atf_get_srcdir) 38 local d=$(atf_get_srcdir)
38 atf_check -s exit:0 -o 'not-match:^Details for failing tests:.*' \ 39 atf_check -s exit:0 -o 'not-match:^Details for failing tests:.*' \
39 "$d/h_libarchive" -r "$d" 40 "$d/h_libarchive" -r "$d"
40} 41}
41 42
42atf_init_test_cases() 43atf_init_test_cases()
43{ 44{
44 atf_add_test_case libarchive 45 atf_add_test_case libarchive
45} 46}