Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tests: factor HOME=$(pwd) in test-lib.sh
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 7c9fe7ab42e0e88d7a64a979eb1b28a217f01b99..67553f3dfc5146203707994fa122db1c7533b235 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-865,6
+865,9
@@
test_create_repo "$test"
# 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