tests/test-help.t
changeset 27763 0ac5b7ee5dc2
parent 27738 a0e783d26e81
child 27925 f6d73c8756e2
--- a/tests/test-help.t	Sun Jan 10 06:21:40 2016 +0000
+++ b/tests/test-help.t	Sun Jan 10 08:03:58 2016 +0000
@@ -1250,6 +1250,15 @@
   $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$'
   [1]
 
+Test -s / --system
+
+  $ hg help config.files -s windows |grep 'etc/mercurial' | \
+  > wc -l | sed -e 's/ //g'
+  0
+  $ hg help config.files --system unix | grep 'USER' | \
+  > wc -l | sed -e 's/ //g'
+  0
+
 Test -e / -c / -k combinations
 
   $ hg help -c|egrep '^[A-Z].*:|^ debug'