tests/test-install.t
changeset 11917 b03cf2349a80
parent 9734 36c388a1aa51
child 12004 1fe4702fe2df
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-install.t	Tue Aug 17 17:48:59 2010 +0530
@@ -0,0 +1,23 @@
+hg debuginstall
+  $ hg debuginstall
+  Checking encoding (ascii)...
+  Checking extensions...
+  Checking templates...
+  Checking patch...
+  Checking commit editor...
+  Checking username...
+  No problems detected
+
+hg debuginstall with no username
+  $ HGUSER= hg debuginstall
+  Checking encoding (ascii)...
+  Checking extensions...
+  Checking templates...
+  Checking patch...
+  Checking commit editor...
+  Checking username...
+   no username supplied (see "hg help config")
+   (specify a username in your .hgrc file)
+  1 problems detected, please check your install!
+
+  $ true