view tests/test-check-setup-manifest.t @ 2447:631ccf45f0bb

effect-flag: rework existing test to prepare for mor tests
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 19 May 2017 19:43:06 +0200
parents 39d84b395343
children f2139537c2be
line wrap: on
line source

#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