tests/test-contrib-emacs.t
author Pulkit Goyal <7895pulkit@gmail.com>
Tue, 31 Mar 2020 15:11:33 +0530
changeset 44633 d37975386798
parent 41797 19979b8b87e2
child 45460 814c7430f828
permissions -rw-r--r--
chgserver: update the umask cache before each run posix.py uses a global variable to store the umask value resulting in caching of it when using chg. We need to update it before each command run as the umask can change between commands. This fixes test-inherit-mode.t with chg.

#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)