diff tests/test-http-bad-server.t @ 40973:97484e1d1834

tests: followup on network related errors on Debian 9 First, update test-clonebundles.t which was failing since the introduction of the `$EADDRNOTAVAIL$` common pattern. Also update two tests from 8695fbe17f7c with a more compact condition line. Differential Revision: https://phab.mercurial-scm.org/D5445
author Boris Feld <boris.feld@octobus.net>
date Sun, 16 Dec 2018 18:51:48 +0000
parents e06719b7544d
children c296b8faa926
line wrap: on
line diff
--- a/tests/test-http-bad-server.t	Sun Dec 16 17:55:08 2018 +0900
+++ b/tests/test-http-bad-server.t	Sun Dec 16 18:51:48 2018 +0000
@@ -38,8 +38,7 @@
   $ cat hg.pid > $DAEMON_PIDS
 
   $ hg clone http://localhost:$HGPORT/ clone
-  abort: error: $ECONNRESET$ (?)
-  abort: error: $EADDRNOTAVAIL$ (?)
+  abort: error: (\$ECONNRESET\$|\$EADDRNOTAVAIL\$) (re)
   [255]
 
 (The server exits on its own, but there is a race between that and starting a new server.