From: Thomas Rast <trast@student.ethz.ch> Date: Tue, 30 Aug 2011 00:47:36 +0000 (+0200) Subject: Symlink mergetools scriptlets into valgrind wrappers X-Git-Tag: v1.7.7.1~20^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ee0d7bf92507f7c968736a490813e8d9cd7792b1 Symlink mergetools scriptlets into valgrind wrappers Since bc7a96a (mergetool--lib: Refactor tools into separate files, 2011-08-18) the mergetools and difftools related tests fail under --valgrind because the mergetools/* scriptlets are not in the exec path. For now, symlink the mergetools subdir into the t/valgrind/bin directory as a whole, since it does not contain anything of interest to the valgrind wrappers. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com> --- diff --git a/t/test-lib.sh b/t/test-lib.sh index e27422217d..c210c17c29 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -932,6 +932,8 @@ then do make_valgrind_symlink $file done + # special-case the mergetools loadables + make_symlink "$GIT_BUILD_DIR"/mergetools "$GIT_VALGRIND/bin/mergetools" OLDIFS=$IFS IFS=: for path in $PATH