tests/test-install.t
author Matt Mackall <mpm@selenic.com>
Thu, 16 Sep 2010 17:51:32 -0500
changeset 12316 4134686b83e1
parent 12084 ff7c1118a83a
child 12346 3b165c127690
permissions -rw-r--r--
tests: add exit codes to unified tests

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!
  [1]

  $ true