view tests/test-check-setup-manifest.t @ 4910:7ddb17901934 stable

debian: define extend-diff-ignore for dpkg-source This makes it possible to build the source package from a hg checkout (and a sdist) by having dpkg-source ignore files not distributed in sdist.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Tue, 15 Oct 2019 11:39:58 +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