]> gitweb.ps.run Git - ps-cgit/commit
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)
commitdd1f0e5f1b4de00c98fe7444915864b7271e09fe
tree5dd6c7885a2bd4f368fc83725ccaefdcd914fd3a
parent9844c60755cbad8000bca759741bfe113035a8eb
tests: Make sure that git does not access $HOME

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>
tests/t0109-gitconfig.sh [new file with mode: 0755]