[php-src] PR #22067: Change bless to clean up absolute paths
| From: | NattyNarwhal | Date: | Sat, 16 May 2026 21:36:02 +0000 |
| Subject: | [php-src] PR #22067: Change bless to clean up absolute paths | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36143@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22067
Author: NattyNarwhal
User-specific absolute paths should be avoided in tests, since they aren't portable. Change
bless to detect common places where this occurs and make it use %s in EXPECTF if so.
This was originally developed as part of GH-12276. While the approved RFC doesn't enable
function parameters to be printed for tests, the functionality is generally useful.