~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d6a1c
)
Set HOME to the test directory to avoid reading ~/.stgitrc
author
Pavel Roskin
<proski@gnu.org>
Tue, 5 Dec 2006 22:07:22 +0000
(22:07 +0000)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Tue, 5 Dec 2006 22:07:22 +0000
(22:07 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index
6339c54
..
459d5cb
100755
(executable)
--- 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