Mercurial > hg
comparison tests/test-clonebundles.t @ 44628:4dacd0cef146
tests: handle new error string from FreeBSD for dns entry not resolving
Differential Revision: https://phab.mercurial-scm.org/D8333
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 26 Mar 2020 10:09:17 -0400 |
parents | 877805928f85 |
children | 89f83e47e9c9 |
comparison
equal
deleted
inserted
replaced
44627:947e6df4ff77 | 44628:4dacd0cef146 |
---|---|
51 Manifest file with invalid URL aborts | 51 Manifest file with invalid URL aborts |
52 | 52 |
53 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest | 53 $ echo 'http://does.not.exist/bundle.hg' > server/.hg/clonebundles.manifest |
54 $ hg clone http://localhost:$HGPORT 404-url | 54 $ hg clone http://localhost:$HGPORT 404-url |
55 applying clone bundle from http://does.not.exist/bundle.hg | 55 applying clone bundle from http://does.not.exist/bundle.hg |
56 error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution)) (re) (no-windows !) | 56 error fetching bundle: (.* not known|(\[Errno -?\d+] )?([Nn]o address associated with (host)?name|Temporary failure in name resolution|Name does not resolve)) (re) (no-windows !) |
57 error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !) | 57 error fetching bundle: [Errno 1100*] getaddrinfo failed (glob) (windows !) |
58 abort: error applying bundle | 58 abort: error applying bundle |
59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") | 59 (if this error persists, consider contacting the server operator or disable clone bundles via "--config ui.clonebundles=false") |
60 [255] | 60 [255] |
61 | 61 |