mirror of
https://github.com/mirror/make.git
synced 2025-01-29 13:50:20 +08:00
* tests/scripts/misc/fopen-fail: [SV 42390] Increase test timeout.
* Makefile.am (check-regression): Force ulimit -n for fopen-fail test.
This commit is contained in:
parent
fe5585528f
commit
c18b23f7b2
@ -175,6 +175,7 @@ MAKETESTFLAGS =
|
||||
|
||||
check-regression: tests/config-flags.pm
|
||||
@if test -f '$(srcdir)/tests/run_make_tests'; then \
|
||||
ulimit -n 128; \
|
||||
if $(PERL) -v >/dev/null 2>&1; then \
|
||||
case `cd '$(srcdir)'; pwd` in `pwd`) : ;; \
|
||||
*) test -d tests || mkdir tests; \
|
||||
|
@ -7,9 +7,12 @@ $description = "Make sure make exits with an error if fopen fails.";
|
||||
# since it's hard to know what it will be, exactly.
|
||||
# See Savannah bug #27374.
|
||||
|
||||
# Use a longer-than-normal timeout: some systems have more FDs available?
|
||||
# We also set ulimit -n 512 in check-regression in Makefile.am, which see.
|
||||
# See Savannah bug #42390.
|
||||
run_make_test(q!
|
||||
include $(lastword $(MAKEFILE_LIST))
|
||||
!,
|
||||
'', undef, 512);
|
||||
'', undef, 512, 300);
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user