Merge branch 'jc/maint-rev-list-culled-boundary' into maint
[gitweb.git] / t / test-lib.sh
index 0fdc541a7cd7d6b694c4f4a3fd06b6cf21dc7380..c91e2324371edee46ebe3a49b540915e96469387 100644 (file)
@@ -1004,14 +1004,14 @@ rm -fr "$test" || {
        exit 1
 }
 
+HOME="$TRASH_DIRECTORY"
+export HOME
+
 test_create_repo "$test"
 # Use -P to resolve symlinks in our working directory so that the cwd
 # in subprocesses like git equals our $PWD (for pathname comparisons).
 cd -P "$test" || exit 1
 
-HOME=$(pwd)
-export HOME
-
 this_test=${0##*/}
 this_test=${this_test%%-*}
 for skp in $GIT_SKIP_TESTS