tests/test-check-setup-manifest.t
author Boris Feld <boris.feld@octobus.net>
Wed, 10 May 2017 11:52:11 +0200 (2017-05-10)
changeset 2342 e28026b4d3c1
parent 2116 39d84b395343
permissions -rw-r--r--
obshistory: use formatter instead of ui.write in the debugobshistory command Replace ui.write with a formater to have template support and json output. Update tests to assert json outputs.
#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