.. | ||
cmd | ||
README.md | ||
test-happy-path.sh | ||
testhelpers.sh | ||
testlib.sh |
Git LFS integration tests
Git LFS integration tests are shell scripts that test the git-lfs
command from
the outside. Each test file is designed to run in parallel through separate
processes, and is bootstrapped with the following:
- Git LFS compiled from the current commit in
./bin
. - A temp directory base name.
- A bare repository in
test/repos/{TEMP}
. - A working directory in
test/working/{temp}
. - A single Git and Git LFS server on a random port for all tests to use.
- http://localhost:PORT/repos/{TEMP}.git
- http://localhost:PORT/repos/{TEMP}.git/info/lfs
- Git credential configuration that doesn't require or clobber existing global git config.