Skip to content

Commit 752570d

Browse files
committed
t9811: fix misconversion of test
The previous commit started to insist TAG_F1_ONLY to be missing, which was not in the original. Let's not to be overly eager in the conversion. Aso, the other hunk in the commit introduced shell syntax errors, breaking the test to fail. Fix it. Signed-off-by: Junio C Hamano <[email protected]>
1 parent dccf129 commit 752570d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/t9811-git-p4-label-import.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ test_expect_success 'two labels on the same changelist' '
9797
9898
git show-ref --verify refs/tags/TAG_F1_1 &&
9999
git show-ref --verify refs/tags/TAG_F1_2 &&
100-
test_must_fail git show-ref --verify refs/tags/TAG_F1_ONLY &&
101100
102101
cd main &&
103102
@@ -207,7 +206,7 @@ test_expect_success 'use git config to enable import/export of tags' '
207206
git tag CFG_A_GIT_TAG &&
208207
git p4 rebase --verbose &&
209208
git p4 submit --verbose &&
210-
git show-ref --verify refs/tags/TAG_F1_1 &&
209+
git show-ref --verify refs/tags/TAG_F1_1
211210
) &&
212211
(
213212
cd "$cli" &&

0 commit comments

Comments
 (0)