tests/test-install.t
author Mads Kiilerich <mads@kiilerich.com>
Mon, 07 Nov 2011 03:25:10 +0100
changeset 15447 9910f60a37ee
parent 15200 797bf1dc1ff8
child 16934 0c9c41e53f1a
permissions -rw-r--r--
tests: make (glob) on windows accept \ instead of / Globbing is usually used for filenames, so on windows it is reasonable and very convenient that glob patterns accepts '\' or '/' when the pattern specifies '/'.

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]