aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
commit40b95e145faf8781cbb12215c07a62c846c214fe (patch)
tree925d1ede98884aff19bfb0c87986be0f438db5b5 /test
parentworkflows: upgrade actions (diff)
parentREADME: update (diff)
downloadconfig-links-40b95e145faf8781cbb12215c07a62c846c214fe.tar.gz
config-links-40b95e145faf8781cbb12215c07a62c846c214fe.zip
Merge tag 'v2.0.2' into debian
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index f2abfde..05c5d65 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -32,7 +32,9 @@ new_test() {
echo ======================================================================
echo "New test: $test_name"
- test_root_dir="$( mktemp --directory )"
+ 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_src_dir="$test_root_dir/$src_dir_name"
test_dest_dir="$test_root_dir/$dest_dir_name"
test_alt_dest_dir="$test_root_dir/$alt_dest_dir_name"