]> gitweb.ps.run Git - ps-cgit/commitdiff
tests: Make sure that git does not access $HOME
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 20:18:21 +0000 (22:18 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Apr 2013 20:53:07 +0000 (22:53 +0200)
With the latest changes to prevent git from accessing configuration
files that it should not, it's important to be sure that we won't
have further breakage in the future.

Use strace to implement a test to make sure cgit does not access()
anything built from $HOME.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

No differences found