Patchwork [1,of,4,py3,V2] tests: clean up bad extension

login
register
mail settings
Submitter Gregory Szorc
Date March 13, 2017, 8:08 p.m.
Message ID <62df9a5359ff0ad365b7.1489435729@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/19302/
State Accepted
Headers show

Comments

Gregory Szorc - March 13, 2017, 8:08 p.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1489435691 25200
#      Mon Mar 13 13:08:11 2017 -0700
# Node ID 62df9a5359ff0ad365b7240f4d34fb4403ebcf31
# Parent  1c48a8278b2f015fca607dfc652823560a5ac580
tests: clean up bad extension

The presence of the "babar" extension breaks subsequent tests.
So delete the file and create an empty one to return the config
to sanity.
Yuya Nishihara - March 14, 2017, 8:41 a.m.
On Mon, 13 Mar 2017 13:08:49 -0700, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc@gmail.com>
> # Date 1489435691 25200
> #      Mon Mar 13 13:08:11 2017 -0700
> # Node ID 62df9a5359ff0ad365b7240f4d34fb4403ebcf31
> # Parent  1c48a8278b2f015fca607dfc652823560a5ac580
> tests: clean up bad extension

Queued the series, thanks.

Patch

diff --git a/tests/test-check-py3-commands.t b/tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t
+++ b/tests/test-check-py3-commands.t
@@ -65,6 +65,9 @@  out some potential warnings that come fr
   *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
+  $ rm included-hgrc
+  $ touch included-hgrc
+
 Test bytes-ness of policy.policy with HGMODULEPOLICY
 
   $ HGMODULEPOLICY=py