[php-src] PR #14326: Fix tempnam() path in test when running from out-of-source
| From: | petk | Date: | Sat, 25 May 2024 18:45:51 +0000 |
| Subject: | [php-src] PR #14326: Fix tempnam() path in test when running from out-of-source | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26311@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14326
Author: petk
This fixes test when running the test from unusual paths such as in out-of-source builds:
```sh
mkdir php-build
../buildconf
../configure
make
./sapi/cli/php ../run-tests.php ../ext/standard/tests/file/002.phpt
```