]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t: allow 'scalar' in test_must_fail
authorDerrick Stolee <derrickstolee@github.com>
Fri, 27 Jan 2023 20:06:01 +0000 (20:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jan 2023 20:38:26 +0000 (12:38 -0800)
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>
t/test-lib-functions.sh

index 79922227030b070c436a47fa9d17798aaa74c301..75b8ee95e7f2454732c0aa27070292ac7a8f9985 100644 (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
                ;;
        *)