diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2019-01-16 11:28:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-17 11:25:07 -0800 |
commit | 07c3c2aa16370fd97551b7d1aa6af3d051e7cf8f (patch) | |
tree | c1cbc5c854f9802361f09189534ad73e621fdbdd /t/t5701-git-serve.sh | |
parent | 0bbc0bc5745ab8b294a5faf8c3b1d939ae8b6d10 (diff) | |
download | git-07c3c2aa16370fd97551b7d1aa6af3d051e7cf8f.tar.gz |
tests: define GIT_TEST_SIDEBAND_ALL
Define a GIT_TEST_SIDEBAND_ALL environment variable meant to be used
from tests. When set to true, this overrides uploadpack.allowsidebandall
to true, allowing the entire test suite to be run as if this
configuration is in place for all repositories.
As of this patch, all tests pass whether GIT_TEST_SIDEBAND_ALL is unset
or set to 1.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5701-git-serve.sh')
-rwxr-xr-x | t/t5701-git-serve.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5701-git-serve.sh b/t/t5701-git-serve.sh index ae79c6bbc0..fe45bf828d 100755 --- a/t/t5701-git-serve.sh +++ b/t/t5701-git-serve.sh @@ -14,7 +14,7 @@ test_expect_success 'test capability advertisement' ' 0000 EOF - git serve --advertise-capabilities >out && + GIT_TEST_SIDEBAND_ALL=0 git serve --advertise-capabilities >out && test-tool pkt-line unpack <out >actual && test_cmp expect actual ' |