[packages/git-lfs] test fixes, but they still fail

glen glen at pld-linux.org
Wed Nov 18 10:52:24 CET 2015


commit 26ecd944da01d27c3ee0b076af4e13e9d476b8d3
Author: Git LFS Tests <git-lfs at example.com>
Date:   Wed Nov 18 11:52:19 2015 +0200

    test fixes, but they still fail

 git-lfs.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/git-lfs.spec b/git-lfs.spec
index 03028b6..73035bf 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -45,6 +45,10 @@ export GOPATH=$(pwd)
 %endif
 
 %if %{with tests}
+# ensure there are no GIT env vars for testing
+unset GIT_DIR GIT_WORK_TREE
+env | grep GIT_ && exit 3
+
 ./script/test
 ./script/integration
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-lfs.git/commitdiff/26ecd944da01d27c3ee0b076af4e13e9d476b8d3



More information about the pld-cvs-commit mailing list