3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/test/make-binary-wrapper/chdir.env
Tobias Bergkvist 228d451e03 makeBinaryWrapper: Fix chdir golden test for darwin
On macOS, /tmp is a symlink to /private/tmp. When performing cd /tmp, and checking cwd - it won't match since it follows the symlink.

This caused test breakage on macOS but not Linux. Instead, use a folder which is not a symlink, and consistent across Linux and macOS.
2021-12-16 21:12:59 +01:00

3 lines
34 B
Bash

CWD=SUBST_CWD/tmp/foo
SUBST_ARGV0