Commit 271d7f6
committed
test(envlite): normalize tmpdir via realpath for macOS portability
On macOS sys_get_temp_dir() returns /var/folders/... while __DIR__ in
the fixture index.php resolves symlinks to /private/var/folders/...,
breaking the FIXTURE_OK marker comparison. realpath() the tmpdir so
both sides of the assert agree on a single canonical form; no-op on
Linux where /tmp is typically not a symlink.1 parent 07f3550 commit 271d7f6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
0 commit comments