NetBSD-Bugs archive

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

Re: misc/56324: lib/libc/stdio/t_fopen tests overflow default tmpfs



The following reply was made to PR misc/56324; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: misc/56324: lib/libc/stdio/t_fopen tests overflow default tmpfs
Date: Thu, 22 Jul 2021 17:44:06 +0200

 In general every test that needs more than, say, 30 MB temporary space
 should check for available space and skip if it does not fit. A 32 MB tmpfs
 for /tmp is the most we can afford on some small hardware.
 
 A common idiom is found in 
 
 	src/tests/sbin/resize_ffs/common.sh
 
 using df:
 
         local avail=$( df -m . | awk '{if (int($4) > 0) print $4}' )
 
 Martin
 


Home | Main Index | Thread Index | Old Index