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 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>
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: ignore ".dirty" suffix on Git version 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