summaryrefslogtreecommitdiff
path: root/line-range.h
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2016-03-03 07:55:17 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-03 08:55:13 -0800
commitf3858f8edcb91054cdc0b6f086ec34109582f67f (patch)
tree63ccfa75387a0f927dcdc24a8dae9b6b731a329b /line-range.h
parentrestore_env(): free the saved environment variable once we are done (diff)
downloadtgif-f3858f8edcb91054cdc0b6f086ec34109582f67f.tar.xz
t0001: fix GIT_* environment variable check under --valgrind
When a test case is run without --valgrind, the wrap-for-bin.sh helper script inserts the environment variable GIT_TEXTDOMAINDIR, but when run with --valgrind, the variable is missing. A recently introduced test case expects the presence of the variable, though, and fails under --valgrind. Rewrite the test case to strip conditially defined environment variables from both expected and actual output. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.h')
0 files changed, 0 insertions, 0 deletions