tests/test-check-setup-manifest.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 11 Mar 2020 18:29:46 +0100
branchstable
changeset 5199 3302e4e742bc
parent 2116 39d84b395343
permissions -rw-r--r--
obsdiscovery: add a test where some common node are hidden This is useful to prevent regression.

#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