tests/run-tests.py
changeset 31673 6a2959acae1a
parent 31635 632e07e72a22
child 31741 728d37353e1e
--- a/tests/run-tests.py	Mon Mar 27 16:00:47 2017 +0200
+++ b/tests/run-tests.py	Sun Mar 26 19:57:17 2017 -0700
@@ -1034,7 +1034,7 @@
     re.compile(br'^pulling from \$TESTTMP/.*[^)]$'),
     # Not all platforms have 127.0.0.1 as loopback (though most do),
     # so we always glob that too.
-    re.compile(br'.*127.0.0.1.*$'),
+    re.compile(br'.*\$LOCALIP.*$'),
 ]
 
 bchr = chr
@@ -1342,7 +1342,7 @@
                         return True
                 return b'-glob'
             return True
-        el = el.replace(b'127.0.0.1', b'*')
+        el = el.replace(b'$LOCALIP', b'*')
         i, n = 0, len(el)
         res = b''
         while i < n: