pkt-line: prepare buffer before handling ERR packets
[gitweb.git] / t / t5516-fetch-push.sh
index 747dc4c31d062b8efb6ac3a0f894c0ee060742bc..98ef71b48c9b70a1cdf72b571e4bee8eea3e5723 100755 (executable)
@@ -1241,7 +1241,7 @@ do
                        git fetch ../testrepo/.git $SHA1_2 &&
                        git cat-file commit $SHA1_2 &&
                        test_must_fail git fetch ../testrepo/.git $SHA1_3 2>err &&
-                       test_i18ngrep "remote error:.*not our ref" err
+                       test_i18ngrep "remote error:.*not our ref.*$SHA1_3\$" err
                )
        '
 done