]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t9811: fix misconversion of tests
authorJunio C Hamano <gitster@pobox.com>
Fri, 18 Apr 2025 17:54:59 +0000 (10:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Apr 2025 21:49:14 +0000 (14:49 -0700)
The previous commit started to insist TAG_F1_ONLY to be missing,
which was not in the original.  Let's not be overly eager in the
conversion.

Also, the other hunk in the commit introduced a shell syntax error,
causing the test to fail.  Fix it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9811-git-p4-label-import.sh

index 39856629c0065766c330484edb5f898ed50534c5..7614dfbd953efed71d39cf84abf98251aacd6440 100755 (executable)
@@ -97,7 +97,6 @@ test_expect_success 'two labels on the same changelist' '
 
                git show-ref --verify refs/tags/TAG_F1_1 &&
                git show-ref --verify refs/tags/TAG_F1_2 &&
-               test_must_fail git show-ref --verify refs/tags/TAG_F1_ONLY &&
 
                cd main &&
 
@@ -207,7 +206,7 @@ test_expect_success 'use git config to enable import/export of tags' '
                git tag CFG_A_GIT_TAG &&
                git p4 rebase --verbose &&
                git p4 submit --verbose &&
-               git show-ref --verify refs/tags/TAG_F1_1 &&
+               git show-ref --verify refs/tags/TAG_F1_1
        ) &&
        (
                cd "$cli" &&