t5516: drop ok=sigpipe from unreachable-want tests
We annotated our test_must_fail calls in 8bf4becf0c (add "ok=sigpipe" to test_must_fail and use it to fix flaky tests, 2015-11-27) because the abrupt hangup of the server meant that we'd sometimes fail on read() and sometimes get SIGPIPE on write(). But since 143588949c (fetch: ignore SIGPIPE during network operation, 2019-03-03), we make sure that we end up with a real die(), and our tests no longer need to work around the race. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Apr 13, 2019 at 01:52 UTC
98024d1cb6cc2b6d9a0672c60d0f8efcda5b5555
1 file changed
+3
-3
t/t5516-fetch-push.sh
+3
-3
@@ -1232,15 +1232,15 @@ do
1232
mk_empty shallow &&
1233
(
1234
cd shallow &&
1235
- test_must_fail ok=sigpipe git fetch ../testrepo/.git $SHA1_3 &&
1236
- test_must_fail ok=sigpipe git fetch ../testrepo/.git $SHA1_1 &&
1235
+ test_must_fail git fetch ../testrepo/.git $SHA1_3 &&
1236
+ test_must_fail git fetch ../testrepo/.git $SHA1_1 &&
1237
git --git-dir=../testrepo/.git config uploadpack.allowreachablesha1inwant true &&
1238
git fetch ../testrepo/.git $SHA1_1 &&
1239
git cat-file commit $SHA1_1 &&
1240
test_must_fail git cat-file commit $SHA1_2 &&
1241
git fetch ../testrepo/.git $SHA1_2 &&
1242
git cat-file commit $SHA1_2 &&
1243
- test_must_fail ok=sigpipe git fetch ../testrepo/.git $SHA1_3
1243
+ test_must_fail git fetch ../testrepo/.git $SHA1_3
1244
)
1245
'
1246
done