bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2] Clean environment for GIT test


From: Bert Wesarg
Subject: [PATCH v2] Clean environment for GIT test
Date: Tue, 16 Mar 2010 08:27:31 +0100

Unset GIT_DIR and GIT_WORK_TREE environment variable in test
test-vc-list-files-git.sh.
---
 tests/test-vc-list-files-git.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/test-vc-list-files-git.sh b/tests/test-vc-list-files-git.sh
index 7b7ff1a..102bdec 100755
--- a/tests/test-vc-list-files-git.sh
+++ b/tests/test-vc-list-files-git.sh
@@ -28,6 +28,8 @@ tmpdir=vc-git-$$
 trap 'st=$?; cd '"`pwd`"' && rm -rf $tmpdir; exit $st' 0
 trap '(exit $?); exit $?' 1 2 13 15
 
+GIT_DIR= GIT_WORK_TREE=; unset GIT_DIR GIT_WORK_TREE
+
 fail=1
 mkdir $tmpdir && cd $tmpdir &&
   # without git, skip the test
-- 
1.7.0.371.gbb638





reply via email to

[Prev in Thread] Current Thread [Next in Thread]