You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cgit/tests
John Keeping 8d07ad3388 t0001: validate Git -rcN version numbers correctly
When creating the GIT-VERSION-FILE that we use to test that the version
of Git in git/ is the same as in the CGit Makefile, Git applies the
transform "s/-/./g" to the version string.  This doesn't affect released
versions but does change RC version numbers such as 1.8.3-rc0.

While CGit should only refer to a released Git version in general, it is
useful to developers who want to test upcoming Git releases if the tests
do work with RCs, so change t0001 to apply the same transform to our
Makefile version before comparing it to the contents of
GIT-VERSION-FILE.

Signed-off-by: John Keeping <john@keeping.me.uk>
11 years ago
..
.gitignore tests/.gitignore: update for using Git's test infrastructure 11 years ago
Makefile tests/Makefile: not everyone has `.` in $PATH 16 years ago
setup.sh tests: set TEST_OUTPUT_DIRECTORY to the CGit test directory 11 years ago
t0001-validate-git-versions.sh t0001: validate Git -rcN version numbers correctly 11 years ago
t0010-validate-html.sh tests/: Do not use `sed -i` 11 years ago
t0020-validate-cache.sh tests/: Do not use `sed -i` 11 years ago
t0101-index.sh tests: use Git's test framework 11 years ago
t0102-summary.sh tests: use Git's test framework 11 years ago
t0103-log.sh tests: use Git's test framework 11 years ago
t0104-tree.sh tests: use Git's test framework 11 years ago
t0105-commit.sh tests: use Git's test framework 11 years ago
t0106-diff.sh tests: use Git's test framework 11 years ago
t0107-snapshot.sh t0107: Skip ZIP tests if unzip(1) isn't available 11 years ago
t0108-patch.sh tests: use Git's test framework 11 years ago
t0109-gitconfig.sh t0109: test more URLs 11 years ago