Patchwork D1081: tests: add check in test-check-commit.t to verify releasenotes directives

login
register
mail settings
Submitter phabricator
Date Oct. 15, 2017, 4:44 a.m.
Message ID <2d15c2df48509894da9b387a298702dd@localhost.localdomain>
Download mbox | patch
Permalink /patch/24929/
State Not Applicable
Headers show

Comments

phabricator - Oct. 15, 2017, 4:44 a.m.
durin42 updated this revision to Diff 2762.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1081?vs=2747&id=2762

REVISION DETAIL
  https://phab.mercurial-scm.org/D1081

AFFECTED FILES
  tests/test-check-commit.t

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg, yuja
Cc: yuja, mercurial-devel

Patch

diff --git a/tests/test-check-commit.t b/tests/test-check-commit.t
--- a/tests/test-check-commit.t
+++ b/tests/test-check-commit.t
@@ -17,6 +17,11 @@ 
   >        cat ${TESTTMP}/check-commit.out
   >        echo
   >   fi
+  >   testrepohg --config extensions.releasenotes= releasenotes -r $node \
+  >     "${TESTTMP}/notes"
+  >   if [ $? -ne 0 ] ; then
+  >        echo "Revision $node has broken releasenotes declaration"
+  >   fi
   > done