From: Derrick Stolee Date: Fri, 27 Jan 2023 20:06:01 +0000 (+0000) Subject: t: allow 'scalar' in test_must_fail X-Git-Tag: v2.40.0-rc0~33^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=008217cb4a11b1bd9d25eda2d412d813cfeacd9f;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 7992222703..75b8ee95e7 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -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 ;; *)