Skip to content

Commit 13f6bea

Browse files
committed
Merge branch 'jk/t5516-deflake' into maint
Test fix. * jk/t5516-deflake: t5516: loosen "not our ref" error check
2 parents c8af1f4 + acaabcf commit 13f6bea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/t5516-fetch-push.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,9 @@ do
12601260
git cat-file commit $SHA1_2 &&
12611261
test_must_fail env GIT_TEST_PROTOCOL_VERSION=0 \
12621262
git fetch ../testrepo/.git $SHA1_3 2>err &&
1263-
test_i18ngrep "remote error:.*not our ref.*$SHA1_3\$" err
1263+
# ideally we would insist this be on a "remote error:"
1264+
# line, but it is racy; see the commit message
1265+
test_i18ngrep "not our ref.*$SHA1_3\$" err
12641266
)
12651267
'
12661268
done

0 commit comments

Comments
 (0)