view tests/test-check-config.t @ 30985:1f803482844a

runtests: checkportisavailable should only check one family As explained by the previous patch, checkportisavailable() should only check the preferred family - either IPv4 or IPv6, not both. This patch makes it so.
author Jun Wu <quark@fb.com>
date Wed, 15 Feb 2017 16:22:22 -0800
parents 3c9066ed557c
children 7c11869cf23a
line wrap: on
line source

#require test-repo

  $ . "$TESTDIR/helpers-testrepo.sh"
  $ cd "$TESTDIR"/..

New errors are not allowed. Warnings are strongly discouraged.

  $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
  >   python contrib/check-config.py