diff options
author | Johannes Sixt <j6t@kdbg.org> | 2016-03-03 07:55:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-03 08:55:13 -0800 |
commit | f3858f8edcb91054cdc0b6f086ec34109582f67f (patch) | |
tree | 63ccfa75387a0f927dcdc24a8dae9b6b731a329b /t/t9601-cvsimport-vendor-branch.sh | |
parent | restore_env(): free the saved environment variable once we are done (diff) | |
download | tgif-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 't/t9601-cvsimport-vendor-branch.sh')
0 files changed, 0 insertions, 0 deletions