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

glen glen at pld-linux.org
Wed Nov 18 12:00:56 CET 2015


commit 2cab5a6bd002b87cb5d47160d6479ae26a208563
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 18 13:00:26 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/2cab5a6bd002b87cb5d47160d6479ae26a208563



More information about the pld-cvs-commit mailing list