summaryrefslogtreecommitdiffstatshomepage
path: root/tests/t0108-patch.sh (unfollow)
Commit message (Collapse)AuthorLines
2013-04-08tests: use Git's test frameworkJohn Keeping-19/+18
This allows tests to run in parallel as well as letting us use "prove" or another TAP harness to run the tests. Git's test framework requires Git to be fully built before letting any tests run, so add a new target to the top-level Makefile which builds all of Git instead of just libgit.a and make the "test" target depend on that. Signed-off-by: John Keeping <john@keeping.me.uk>
2013-03-04tests: make whitespace consistentJohn Keeping-1/+1
Signed-off-by: John Keeping <john@keeping.me.uk>
2013-03-04tests: "grep -e" is not portable to all platformsJohn Keeping-5/+5
The "-e" option to grep is not needed unless specifying more than one pattern, which we don't do. Remove it to avoid restricting the tests on platforms that do not have a grep that recognises "-e". Signed-off-by: John Keeping <john@keeping.me.uk>
2012-03-18tests: handle paths with whitespaceFerry Huberts-1/+1
v2: incorporate remarks of Lukas Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2010-08-29t0108-patch: add 'tests_done' to endMark Lodato-0/+2
Signed-off-by: Mark Lodato <lodatom@gmail.com>
2008-03-17Fix segfault in patch view for root commitLars Hjemli-0/+37
The code for patch view assumed the current commit would always have a parent, which made cgit segfault when that wasn't the case. This fixes the bug and adds a test-script for patch view which includes a test for the inital commit. Signed-off-by: Lars Hjemli <hjemli@gmail.com>