tests/test-contrib-emacs.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 09 Dec 2019 11:45:17 +0100
branchstable
changeset 43852 b6c7475595db
parent 41788 19979b8b87e2
child 45449 814c7430f828
permissions -rw-r--r--
remotefilelog: use the correct redirection in tests The test were using '2>%1' which just redirect stderr in the "%1" file. The intend was '2>&1' which redirect stderr on stdin. This impact tests because some commit were picking up this '%1' files. Differential Revision: https://phab.mercurial-scm.org/D7588

#require emacs
  $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \
  >  -f ert-run-tests-batch-and-exit
  Running 1 tests (*) (glob)
     passed  1/1  hg-test-mode--compilation-mode-support
  
  Ran 1 tests, 1 results as expected (*) (glob)