diff options
| -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() { |
