tests: unsetting variables that influence the outcome
Get series with b4
b4 am 20110315064909.GA25738@elieVersions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tests: protect against GIT_ATTR_NOGLOBAL from environmentt/ | +1 | 0 replies | |
| 1/3 | gitattributes: drop support for GIT_ATTR_NOGLOBALattr.c | +1 | 0 replies | |
| 2/3 | tests: suppress global and system gitattributest/ | +4 | 2 replies | |
| 2/3 | config: drop support for GIT_CONFIG_NOGLOBALbuiltin/ cache.h config.c +4 more | +4 | 0 replies | |
| 3/3 | tests: scrub environment of GIT_* variablest/ | +31 | 6 replies | |
| 3/3 | tests: suppress system gitattributest/ | +2 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Jeff King |
|---|---|
| 1/3 | Helped-by |
| 1/3 | Helped-by |
| 2/3 | Helped-by |
| 2/3 | Helped-by |
| 3/3 | Improved-by |
| 3/3 | Improved-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] tests: unsetting variables that influence the outcome
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(-)