summaryrefslogtreecommitdiff
path: root/tests/test-install.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-install.t')
-rw-r--r--tests/test-install.t20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test-install.t b/tests/test-install.t
new file mode 100644
index 0000000..5d7741d
--- /dev/null
+++ b/tests/test-install.t
@@ -0,0 +1,20 @@
+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]