Skip to content

test: use noop credential helper for auth tests - #1267

Merged
technoweenie merged 2 commits into
git-lfs:masterfrom
ttaylorr:noop-creds-helper
May 31, 2016
Merged

technoweenie merged 2 commits into
git-lfs:masterfrom
ttaylorr:noop-creds-helper

Conversation

@ttaylorr

Copy link
Copy Markdown
Contributor

Some tests are failing on branches of mine because the LFS test credential helper is being overridden by the OS X system-level cred-helper. Instead of --unset-ing during the tests that needed it, this PR introduces a no-op credential helper, which fixes those tests.

@technoweenie

Copy link
Copy Markdown
Contributor

FWIW: the no-op test is implemented in Go just to fit in with the integration tests' build system. It compiles *.go files in that directory to the ./bin directory, which gets added to the PATH for the duration of the tests.

@technoweenie
technoweenie merged commit 0a16cf8 into git-lfs:master May 31, 2016
@ttaylorr
ttaylorr deleted the noop-creds-helper branch June 1, 2016 00:36
@ttaylorr ttaylorr mentioned this pull request Jun 1, 2016
ttaylorr added a commit that referenced this pull request Jun 2, 2016
Backport #1267 for v1.2.x: test: use noop credential helper for auth tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants