1
0
cgitsb/tests
John Keeping d483e8f569 t0001: ignore ".dirty" suffix on Git version
When testing modifications in Git that affect CGit, it is annoying to
have t0001 failing simply because the Git version has a ".dirty" suffix
when the version of Git there does indeed match that specified in the
CGit makefile.  Stop this by stripping the ".dirty" suffix from the
GIT_VERSION variable.

Note that this brings the "Git version" behaviour in line with the
"submodule version" case which does not check if the working tree in
git/ is modified.

Signed-off-by: John Keeping <john@keeping.me.uk>
2013-04-15 16:59:37 +02:00
..
.gitignore tests/.gitignore: update for using Git's test infrastructure 2013-04-08 22:27:53 +02:00
Makefile tests/Makefile: not everyone has . in $PATH 2008-07-22 19:02:27 +02:00
setup.sh tests: set TEST_OUTPUT_DIRECTORY to the CGit test directory 2013-04-15 16:59:37 +02:00
t0001-validate-git-versions.sh t0001: ignore ".dirty" suffix on Git version 2013-04-15 16:59:37 +02:00
t0010-validate-html.sh tests/: Do not use sed -i 2013-04-10 14:49:31 +02:00
t0020-validate-cache.sh tests/: Do not use sed -i 2013-04-10 14:49:31 +02:00
t0101-index.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0102-summary.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0103-log.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0104-tree.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0105-commit.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0106-diff.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0107-snapshot.sh t0107: Skip ZIP tests if unzip(1) isn't available 2013-04-10 14:49:31 +02:00
t0108-patch.sh tests: use Git's test framework 2013-04-08 22:27:11 +02:00
t0109-gitconfig.sh t0109: test more URLs 2013-04-15 16:59:06 +02:00