tests/test-check-config.t
author Jun Wu <quark@fb.com>
Thu, 09 Feb 2017 05:57:54 -0800
changeset 30918 2aaa8bfc7bd9
parent 29219 3c9066ed557c
child 32864 7c11869cf23a
permissions -rw-r--r--
runtests: check ports on IPv6 address Previously, checkportisavailable only checks ports on the IPv4 address. This patch makes it check IPv6 as well. It'll be useful if "localhost" does not have an IPv4 address, or its IPv4 address does not exist somehow.

#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