tests/test-check-setup-manifest.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 12 Jul 2019 23:19:50 -0700
changeset 4740 f8ef6d5f56f2
parent 2116 39d84b395343
permissions -rw-r--r--
py3: don't depend on map() iterating over its input map(some_generator()) in py2 returns a list, while in py3 it returns a generator, so the passed-in generator won't be called unless the returned one is.

#require test-repo

  $ checkcm() {
  >   if ! (which check-manifest > /dev/null); then
  >     echo skipped: missing tool: check-manifest;
  >     exit 80;
  >   fi;
  > };
  $ checkcm
  $ cat << EOF >> $HGRCPATH
  > [experimental]
  > evolution=all
  > EOF

Run check manifest:

  $ cd $TESTDIR/..
  $ check-manifest
  lists of files in version control and sdist match