Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 3e5df5d

Browse files
committed
test: Fix remote failure test to use correct env variable
The test was using the wrong testgit variable helper to cause the failure. I still don't know why this test wasn't failing on all machines. Signed-off-by: Michael Geddes <[email protected]>
1 parent db19ecf commit 3e5df5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5801-remote-helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ test_expect_success 'push update refs failure' '
212212
echo "update fail" >>file &&
213213
git commit -a -m "update fail" &&
214214
git rev-parse --verify testgit/origin/heads/update >expect &&
215-
test_expect_code 1 env GIT_REMOTE_TESTGIT_FAILURE="non-fast forward" \
215+
test_expect_code 1 env GIT_REMOTE_TESTGIT_PUSH_ERROR="non-fast forward" \
216216
git push origin update &&
217217
git rev-parse --verify testgit/origin/heads/update >actual &&
218218
test_cmp expect actual

0 commit comments

Comments
 (0)