view tests/test-install.t @ 16952:d1a0ac9b6b8a stable

test-commit: remove extra cd .. This specific cd .. leaves the base directory of the test ($TESTTMP). Removing it avoids that test artifacts (e.g. files) are created outside of the base directory.
author Adrian Buehlmann <adrian@cadifra.com>
date Sat, 09 Jun 2012 14:20:25 +0200
parents 9910f60a37ee
children 0c9c41e53f1a
line wrap: on
line source

hg debuginstall
  $ hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*mercurial)... (glob)
  Checking templates (*mercurial?templates)... (glob)
  Checking commit editor...
  Checking username...
  No problems detected

hg debuginstall with no username
  $ HGUSER= hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules (*mercurial)... (glob)
  Checking templates (*mercurial?templates)... (glob)
  Checking commit editor...
  Checking username...
   no username supplied (see "hg help config")
   (specify a username in your configuration file)
  1 problems detected, please check your install!
  [1]