git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Set HOME to the test directory to avoid reading ~/.stgitrc
@ 2006-11-29  3:59 Pavel Roskin
  2006-11-29  3:59 ` [PATCH 2/2] Don't require config file for "stg mail" Pavel Roskin
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Roskin @ 2006-11-29  3:59 UTC (permalink / raw)
  To: git, Catalin Marinas

This makes the tests more system independent and allows better testing
for "stg mail" command.

Signed-off-by: Pavel Roskin <proski@gnu.org>
---

 t/test-lib.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-30  8:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29  3:59 [PATCH 1/2] Set HOME to the test directory to avoid reading ~/.stgitrc Pavel Roskin
2006-11-29  3:59 ` [PATCH 2/2] Don't require config file for "stg mail" Pavel Roskin
2006-11-29 16:29   ` Catalin Marinas
2006-11-29 23:27     ` Pavel Roskin
2006-11-30  8:32       ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).