author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 15 Mar 2011 09:05:10 +0000 (04:05 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Mar 2011 19:23:29 +0000 (12:23 -0700) | ||
commit | 3c995beb14b7aef9fa724cde9d2b7a4ea4ae53cc | |
tree | 82c9fcbfda182ac72c7c6a3ba6c74c4ed93ca1a1 | tree | snapshot |
parent | 67e6d817945202427977cf950b5ccbad3060e9e4 | commit | diff |
tests: suppress system gitattributes
Set GIT_ATTR_NOSYSTEM in test-lib to make tests more reliable in two
ways:
- an invalid GIT_ATTR_NOSYSTEM setting should not cause tests to fail
with "fatal: bad config value for 'GIT_ATTR_NOSYSTEM'".
- /etc/gitattributes should not change the outcome of tests.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Improved-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Set GIT_ATTR_NOSYSTEM in test-lib to make tests more reliable in two
ways:
- an invalid GIT_ATTR_NOSYSTEM setting should not cause tests to fail
with "fatal: bad config value for 'GIT_ATTR_NOSYSTEM'".
- /etc/gitattributes should not change the outcome of tests.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Improved-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | diff | blob | history |