tests/test-check-setup-manifest.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 18 May 2017 18:40:20 +0200
changeset 2419 4ac190d88b57
parent 2116 39d84b395343
permissions -rw-r--r--
tests: glob an absolute path The ssh command path was in full and pointing the mercurial checkout of the last one who touched the test.

#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