fix(tst): resolve the temp directory in modulepath_test.sh (macOS)

Case 5 of the module-resolution suite failed on macOS only, because /var
is a symlink to /private/var there: `mktemp -d` returns an unresolved
path while Python's os.getcwd() reports the resolved one, so the test
compared two spellings of the same directory.  Resolving the temp
directory once at creation with `pwd -P` makes every path in the suite
consistent.

(from dev ca9eaa2c867a)
This commit is contained in:
2026-07-28 23:53:35 +02:00
parent cacff229a1
commit 2cd336b926
2 changed files with 8 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ are regenerated on each release — patches cannot be merged directly.
Report problems (or send patches) to the author; accepted changes are
applied to the development tree and appear in a following snapshot.
This snapshot was assembled from development commit `6024f49c2859`.
This snapshot was assembled from development commit `ca9eaa2c867a`.
## License