configwizard: fix tests; r?smacleod draft
authorGregory Szorc <gps@mozilla.com>
Thu, 22 Sep 2016 10:06:06 -0700
changeset 9626 2f6865eec56d2d81de1a633b39134b4fc6c27ce2
parent 9625 752c6cacdfd9013efb76366700335f32dc2818ad
child 9627 74d7eeb876d8df05ac9113f60384119783107b28
push id1251
push userbmo:gps@mozilla.com
push dateThu, 22 Sep 2016 17:26:54 +0000
reviewerssmacleod
configwizard: fix tests; r?smacleod The hghave file was missing from the directory. This meant that #if conditions weren't being executed and the condition was being evaluated as false. This was also masking a failure in the syntax: inverted conditions should be prefixed with "no-" not "!". MozReview-Commit-ID: BCClIUUlcIV
hgext/configwizard/tests/hghave
hgext/configwizard/tests/test-security.t
copy from hgext/reviewboard/tests/hghave
copy to hgext/configwizard/tests/hghave
--- a/hgext/configwizard/tests/test-security.t
+++ b/hgext/configwizard/tests/test-security.t
@@ -6,17 +6,17 @@
   This wizard will guide you through configuring Mercurial for an optimal
   experience contributing to Mozilla projects.
   
   The wizard makes no changes without your permission.
   
   To begin, press the enter/return key.
    <RETURN>
 
-#if !sslcontext
+#if no-sslcontext
 
   $ hg --config configwizard.steps=security,configchange configwizard
   This wizard will guide you through configuring Mercurial for an optimal
   experience contributing to Mozilla projects.
 
   The wizard makes no changes without your permission.
 
   To begin, press the enter/return key.