t9811: fix misconversion of tests
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>
Junio C Hamano committed
Apr 18, 2025 at 10:54 UTC
ee40e26e6999349b09e260c3bc8ab1f5397d8b1b
1 file changed
+1
-2
t/t9811-git-p4-label-import.sh
+1
-2
@@ -97,7 +97,6 @@ test_expect_success 'two labels on the same changelist' '
97
98
git show-ref --verify refs/tags/TAG_F1_1 &&
99
git show-ref --verify refs/tags/TAG_F1_2 &&
100
- test_must_fail git show-ref --verify refs/tags/TAG_F1_ONLY &&
100
101
cd main &&
102
@@ -207,7 +206,7 @@ test_expect_success 'use git config to enable import/export of tags' '
206
git tag CFG_A_GIT_TAG &&
207
git p4 rebase --verbose &&
208
git p4 submit --verbose &&
210
- git show-ref --verify refs/tags/TAG_F1_1 &&
209
+ git show-ref --verify refs/tags/TAG_F1_1
210
) &&
211
(
212
cd "$cli" &&