tests/test-install.t
author Martin Geisler <mg@lazybytes.net>
Thu, 02 Sep 2010 22:17:22 +0200
changeset 12155 94ad12aa0530
parent 12084 ff7c1118a83a
child 12316 4134686b83e1
permissions -rw-r--r--
test-merge5: removed unnecessary parts of test - no need to initialize a new directory - no need to fix the commit time, already done by run-tests - no need to exit 0, use exit code from hg instead - better spacing around comments

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

hg debuginstall with no username
  $ HGUSER= hg debuginstall
  Checking encoding (ascii)...
  Checking installed modules \(.*/mercurial\)...
  Checking templates...
  Checking patch...
  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!

  $ true