aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t0109-gitconfig.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: spelling fixesVille Skyttä2017-10-151-5/+5
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* t0109: "function" is a bash-ismJohn Keeping2013-05-131-1/+1
| | | | | | | | | We try to stick to POSIX shell in the tests but a "function" keyword has found its way into t0109. Remove it. This makes the tests work with dash again. Signed-off-by: John Keeping <john@keeping.me.uk>
* ui-snapshot: do not access $HOMEJason A. Donenfeld2013-04-301-0/+1
| | | | | | | | | | | | It's a bit tedious to have to do this here too. If we encounter other issues with $HOME down the line, I'll look into adding some nice utility functions to handle this, or perhaps giving up on the hope that we could keep $HOME defined for scripts. This commit additionally adds a test case, should the issue surface again. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* t0109: test more URLsJohn Keeping2013-04-151-4/+20
| | | | | | | | | | | In order to ensure that we don't access $HOME at some point after initial startup when rendering a specific view, run the strace test on a range of different pages. This ensures that we don't end up reading a configuration later for some specific view. Signed-off-by: John Keeping <john@keeping.me.uk>
* t0109: chain operations with &&John Keeping2013-04-101-1/+1
| | | | | | | | Without '&&' between operations, we will not detect if strace or cgit exit with an error status, which would cause a false positive test status in this case. Signed-off-by: John Keeping <john@keeping.me.uk>
* tests: Make sure that git does not access $HOMEJason A. Donenfeld2013-04-081-0/+25
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>