From: Ferry Huberts <[email protected]> Some tests would otherwise fail because commands such as cd trash/repos/foo && git rev-list --reverse HEAD | head -1 would return 2 lines instead of 1: the 'cd' command also prints the path when CDPATH is set.
Signed-off-by: Ferry Huberts <[email protected]> --- tests/setup.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tests/setup.sh b/tests/setup.sh index b2f1169..b9475a3 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -15,6 +15,7 @@ # run_test 'repo index' 'cgit_url "/" | tidy -e' # run_test 'repo summary' 'cgit_url "/foo" | tidy -e' +unset CDPATH mkrepo() { name=$1 -- 1.7.6 _______________________________________________ cgit mailing list [email protected] http://hjemli.net/mailman/listinfo/cgit
