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/lib-proto-disable.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/lib-proto-disable.sh')
-rw-r--r-- | t/lib-proto-disable.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/lib-proto-disable.sh b/t/lib-proto-disable.sh index 83babe57d9..890622be81 100644 --- a/t/lib-proto-disable.sh +++ b/t/lib-proto-disable.sh @@ -1,7 +1,7 @@ # Test routines for checking protocol disabling. -# Test clone/fetch/push with GIT_ALLOW_PROTOCOL whitelist -test_whitelist () { +# Test clone/fetch/push with GIT_ALLOW_PROTOCOL environment variable +test_allow_var () { desc=$1 proto=$2 url=$3 @@ -183,7 +183,7 @@ test_config () { # $2 - machine-readable name of the protocol # $3 - the URL to try cloning test_proto () { - test_whitelist "$@" + test_allow_var "$@" test_config "$@" } |