From d9f6db0c585652ac8bbbadabd3360868ac8f09c5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 14 Oct 2026 17:46:20 +0500 Subject: test.sh: copy macOS workaround from config-links --- lib/test.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/test.sh') 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() { -- cgit v1.3