[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tests: dis/allow '.' in PATH?
From: |
Bernhard Voelker |
Subject: |
tests: dis/allow '.' in PATH? |
Date: |
Tue, 23 Nov 2021 23:19:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
GNU findutils got a bug report for a failing test in the testsuite [1].
It turned out that the calling environment had the current directory '.'
in PATH. This triggered a warning in `find -execdir ...` and therefore
made some tests fail.
[1] https://lists.gnu.org/r/bug-findutils/2021-11/msg00004.html
Of course, the findutils tests could (and probably will) remove '.' from PATH,
but I wonder if this should or should not be done for other packages via a
change
in 'tests/init.sh' as well?
If a certain test needs '.' in the PATH, it will have to add it anyway.
Any comments?
Have a nice day,
Berny
- tests: dis/allow '.' in PATH?,
Bernhard Voelker <=