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
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.