Steve Streeting
cc41ca5413
Fix auto tempdir for GNU mktemp, needs X's (BSD doesn't)
2016-03-24 17:41:42 +00:00
Steve Streeting
e1c2c8a2aa
Always run integration tests in a separate GIT_LFS_TEST_DIR
...
If user doesn't specify a specific one, create one in the temp area &
clean up when done if KEEPTRASH=0
2016-03-18 16:06:48 +00:00
Steve Streeting
6da7fe87b2
Fully resolve symlinks in all cases for consistency
...
'git rev-parse' always reports absolute paths after resolving symlinks
but os.Getwd() and filepath.Abs() report paths without them resolved,
leading to issues. Also integration tests need to resolve symlinks before
comparing paths if running in a symlinked folder
2016-03-18 15:03:05 +00:00
Steve Streeting
4c64e82124
Trying to get SSL integration test working, having cert issues
2016-03-09 17:31:04 +00:00
Steve Streeting
0c2ad37f74
Rename IS_MINGW_CYGWIN to IS_WINDOWS, simpler
2015-10-22 16:16:53 +01:00
Steve Streeting
4c1e5ac12d
Fix the first Windows integration test error, paths
...
We have to be able to convert from MinGW paths to native Windows paths,
and also to handle those paths in Bash without the '\' characters
escaping into tabs etc. This commit fixes the very first test in
test-env.sh as a proof of concept
2015-10-22 16:16:14 +01:00
risk danger olson
63f388f4e0
don't use ldflags in credential tests
...
gccgo silently ignores them, causing tests to fail.
2015-08-11 14:18:30 -06:00
Rick Olson
b2e7ba29d8
teach the git credential helper how to read passwords from disk
2015-08-04 10:06:30 -06:00
Rick Olson
202ae122d4
update the shebang lines to use bash
2015-07-29 20:37:31 -06:00
Rick Olson
1efb30a51f
rebuild HOME for each test
2015-07-29 20:03:57 -06:00
Rick Olson
4e032fbb59
allow a custom rootdir
2015-06-19 11:06:55 -06:00
Rick Olson
6063148e43
set the user values
2015-05-26 09:47:57 -06:00
Rick Olson
1feee5837e
create a new HOME with a global git config just for tests
2015-05-26 09:39:04 -06:00
Rick Olson
f88f3660b9
configurable TMPDIR
2015-05-21 15:01:35 -06:00
Rick Olson
904145fcce
lots of test docs
2015-05-19 16:54:15 -06:00
Rick Olson
de1e0a0c22
run tests in parallel with xargs
2015-05-18 19:09:32 -06:00
Rick Olson
7b6d89d59f
teach script/integration how to setup and run the test suite
2015-05-18 17:28:58 -06:00