t: allow 'scalar' in test_must_fail

This will enable scalar tests to use the test_must_fail helper, when
necessary.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Derrick Stolee 2023-01-27 20:06:01 +00:00 committed by Junio C Hamano
parent 5cc9858f1b
commit 008217cb4a

View File

@ -1016,7 +1016,7 @@ test_must_fail_acceptable () {
fi
case "$1" in
git|__git*|test-tool|test_terminal)
git|__git*|scalar|test-tool|test_terminal)
return 0
;;
*)