coreutils
[Top][All Lists]
Advanced

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

fix intermittent test failure triggered by split /tmp usage


From: Pádraig Brady
Subject: fix intermittent test failure triggered by split /tmp usage
Date: Tue, 18 Jul 2023 19:12:24 +0100
User-agent: Mozilla Thunderbird

The new test where `split -n 1/2 /dev/zero` exhausts /tmp
will trigger other false positive failures in the test suite
which happens often when running tests with RUN_VERY_EXPENSIVE_TESTS set.

The attached patches tackle this by consolidating temp file handling
for tac and split, so that have a configurable $TMPDIR.

We then use $TMPDIR in an adjusted test to point to
a mounted file system to provide better isolation.

cheers,
Pádraig

Attachment: 0001-maint-add-syntax-check-to-ensure-safe-mkstemp-usage.patch
Description: Text Data

Attachment: 0002-tac-fall-back-to-tmp-if-TMPDIR-is-unavailable.patch
Description: Text Data

Attachment: 0003-split-honor-TMPDIR-for-temp-files.patch
Description: Text Data

Attachment: 0004-tests-split-provide-more-isolated-tmp-handling.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]