tests/test-install.t
author Augie Fackler <raf@durin42.com>
Sun, 17 Nov 2013 18:13:55 -0500
changeset 20059 385e209377a6
parent 17392 bdd248666dbc
child 20574 5614f8cf0861
permissions -rw-r--r--
test-module-imports: skip on Python < 2.6, since ast is new in 2.6

hg debuginstall
  $ hg debuginstall
  checking encoding (ascii)...
  checking Python lib (*lib*)... (glob)
  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 Python lib (*lib*)... (glob)
  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]