diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-07-19 20:32:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-19 21:45:31 +0200 |
commit | 0011f94a4f05d5311a4f3223da8caf3bfbb9e293 (patch) | |
tree | 283be7fb1b232c99aa031fc21f2ea326bf870189 /t/t5812-proto-disable-http.sh | |
parent | git.txt: remove redundant language (diff) | |
download | git-0011f94a4f05d5311a4f3223da8caf3bfbb9e293.tar.xz git-0011f94a4f05d5311a4f3223da8caf3bfbb9e293.zip |
t: avoid "whitelist"
The word "whitelist" has cultural implications that are not inclusive.
Thankfully, it is not difficult to reword and avoid its use.
Focus on changes in the test scripts, since most of the changes are in
comments and test names. The renamed test_allow_var helper is only used
once inside the widely-used test_proto helper.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5812-proto-disable-http.sh')
-rwxr-xr-x | t/t5812-proto-disable-http.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5812-proto-disable-http.sh b/t/t5812-proto-disable-http.sh index af8772fada..d8da5f58d1 100755 --- a/t/t5812-proto-disable-http.sh +++ b/t/t5812-proto-disable-http.sh @@ -16,7 +16,7 @@ test_expect_success 'create git-accessible repo' ' test_proto "smart http" http "$HTTPD_URL/smart/repo.git" -test_expect_success 'curl redirects respect whitelist' ' +test_expect_success 'http(s) transport respects GIT_ALLOW_PROTOCOL' ' test_must_fail env GIT_ALLOW_PROTOCOL=http:https \ GIT_SMART_HTTP=0 \ git clone "$HTTPD_URL/ftp-redir/repo.git" 2>stderr && |