# Re: valgrind test script integration

- From: Jeff King \<hidden\>
- Date: 2016-06-15 22:44:05 
- List: git
- Page: https://ratatoskr.run/git/2016/06/7327300
- Thread: https://ratatoskr.run/git/2008/01/1045789/t.md

```text
On Sat, Jan 12, 2008 at 06:10:30PM +0100, Johannes Schindelin wrote:

> Nevertheless, I think that would be better.
> 
> BTW does your first patch cope with scripts properly? (I.e. also valgrind 
> the git programs called by the script)

No. To do that, you would need to set up an alternate directory at the
head of the PATH with 'git' in it (and git-*, for everything we want to
intercept, which I think would be all builtins, but probably not scripts
(unless you want to run valgrind on perl or bash, which is probably not
useful to us)).

I started down that route, but it was a little ugly. How do we make that
directory? Where is it stored? Is it generated each time the test script
is run, or part of the Makefile?

-Peff
```
