diff tests/test-install.t @ 11917:b03cf2349a80

tests: unify test-install
author Pradeepkumar Gayam <in3xes@gmail.com>
date Tue, 17 Aug 2010 17:48:59 +0530
parents tests/test-install@36c388a1aa51
children 1fe4702fe2df
line wrap: on
line diff
--- /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