summaryrefslogtreecommitdiffstatshomepage
path: root/lib/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test.sh')
-rw-r--r--lib/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test.sh b/lib/test.sh
index 59e7ce6..7c5844b 100644
--- a/lib/test.sh
+++ b/lib/test.sh
@@ -6,13 +6,13 @@
test_should_fail=
test_root_dir=
-test_setup_global() {
+_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() {
+_test_cleanup_global() {
if [ "$( type -t test_cleanup )" == function ]; then
test_cleanup || true
fi