]> git.ipfire.org Git - thirdparty/make.git/commit
tests: Avoid the use of File::Temp->newdir()
authorPaul Smith <psmith@gnu.org>
Fri, 28 Oct 2022 19:21:55 +0000 (15:21 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 29 Oct 2022 17:36:21 +0000 (13:36 -0400)
commit4e18732a1d6be8720615b18408cbd0d0195b5b6e
tree783a824c0ab3e3bd5207d0435bcae6ac65b7b2f8
parent11f9da227e8b31e1831522214f4e088857d787f1
tests: Avoid the use of File::Temp->newdir()

This was added in Perl 5.8 but some systems still only provide older
versions such as Perl 5.6.  We don't really need it anyway.
Paul Eggert <eggert@cs.ucla.edu> reported this issue.

* tests/README: Update this to be a bit more modern.
* tests/test_driver.pl: Delete the $TEMPDIR variable.
* tests/scripts/features/temp_stdin: Use $temppath not $TEMPDIR.
tests/README
tests/scripts/features/temp_stdin
tests/test_driver.pl