Subject: [PATCH 0/3] tests: unsetting variables that influence the outcome

From: Jonathan Nieder <[email-masked]>
Date: Tue, 15 Mar 2011 01:49:33 -0500

Hi,

These patches were rotting in my tree so I thought I should
try sending them out.  Maybe they can be useful.

The theme: settings from the inherited environment like GIT_PAGER can
break tests in undesirable ways.  For example,

 GIT_PAGER=more sh t5400-send-pack.sh -v -i

hangs.

Jonathan Nieder (3):
  tests: protect against GIT_ATTR_NOGLOBAL from environment
  tests: suppress global and system gitattributes
  tests: scrub environment of GIT_* variables

 t/t0003-attributes.sh |    1 +
 t/test-lib.sh         |   36 +++++++++++++++++++++++++++++++++++-
 2 files changed, 36 insertions(+), 1 deletions(-)