From 29d9e8ce8e74d9319c3e9979dd8aa267c0de8239 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 5 Dec 2006 22:07:22 +0000 Subject: [PATCH] Set HOME to the test directory to avoid reading ~/.stgitrc This makes the tests more system independent and allows better testing for "stg mail" command. Signed-off-by: Pavel Roskin --- t/test-lib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index 6339c54..459d5cb 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -193,7 +193,8 @@ test_done () { # Test the binaries we have just built. The tests are kept in # t/ subdirectory and are run in trash subdirectory. PATH=$(pwd)/..:$PATH -export PATH +HOME=$(pwd)/trash +export PATH HOME # Test repository -- 2.11.0