Module Name:    src
Committed By:   gson
Date:           Wed May  1 11:40:25 UTC 2024

Modified Files:
        src/tests/lib/libc/stdio: t_intr.sh

Log Message:
Increase the estimate of disk space required for the test, as the old
estimate recently proved too optimistic on the amd64 testbed on b4.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/stdio/t_intr.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/libc/stdio/t_intr.sh
diff -u src/tests/lib/libc/stdio/t_intr.sh:1.6 src/tests/lib/libc/stdio/t_intr.sh:1.7
--- src/tests/lib/libc/stdio/t_intr.sh:1.6	Sun Oct 31 11:36:26 2021
+++ src/tests/lib/libc/stdio/t_intr.sh	Wed May  1 11:40:25 2024
@@ -1,4 +1,4 @@
-# $NetBSD: t_intr.sh,v 1.6 2021/10/31 11:36:26 gson Exp $
+# $NetBSD: t_intr.sh,v 1.7 2024/05/01 11:40:25 gson Exp $
 #
 # Copyright (c) 2021 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -37,7 +37,10 @@ TMOUT=20
 
 h_test() {
 	local avail=$( df -m . | awk '{if (int($4) > 0) print $4}' )
-	local need=$(( 2 * $MAX * 8 / 1000000 ))
+	# The test data are stored in triplicate: numbers.in, numbers.out,
+	# and a temporary "stdout" file created by ATF.  Each line consists
+	# of up to 7 digits and a newline for a total of 8 bytes.
+	local need=$(( 3 * $MAX * 8 / 1000000 ))
 	if [ $avail -lt $need ]; then
 		atf_skip "not enough free space in working directory"
 	fi

Reply via email to