view tests/test-check-config.t @ 28770:97c8da2f89f9

chgserver: change random state after fork Before this patch, extensions expecting a different random state per command will break since the chg request handler will inherit a same random state from the parent daemon process. This patch addresses the issue by calling random.seed() after fork.
author Jun Wu <quark@fb.com>
date Mon, 04 Apr 2016 01:59:57 +0100
parents 8f244b75cc5e
children 3c9066ed557c
line wrap: on
line source

#require test-repo

  $ 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