diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-14 17:46:20 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-14 17:46:20 +0500 |
| commit | d9f6db0c585652ac8bbbadabd3360868ac8f09c5 (patch) | |
| tree | 311adb618d7f1b19493f24033e3cc5c288671acc /lib/test.sh | |
| parent | remove unnecessary global variables (diff) | |
| download | test-harness-d9f6db0c585652ac8bbbadabd3360868ac8f09c5.tar.gz test-harness-d9f6db0c585652ac8bbbadabd3360868ac8f09c5.zip | |
test.sh: copy macOS workaround from config-links
Diffstat (limited to 'lib/test.sh')
| -rw-r--r-- | lib/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/test.sh b/lib/test.sh index fc4f1a6..59e7ce6 100644 --- a/lib/test.sh +++ b/lib/test.sh @@ -8,6 +8,8 @@ test_root_dir= test_setup_global() { test_root_dir="$( mktemp -d )" + # mktemp returns /var/..., which is actually in /private/var/... on macOS. + test_root_dir="$( readlink -e -- "$test_root_dir" )" } test_cleanup_global() { |
