[PATCH 4 of 6 py3 v2] py3: add a test that proves %include and missing-extension code works

Augie Fackler raf at durin42.com
Wed Mar 8 17:51:18 EST 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1488567128 18000
#      Fri Mar 03 13:52:08 2017 -0500
# Node ID 5fb879c5f256c4308651e4efdf2b3ca1a59df24a
# Parent  9bd5ccf35922ec4e70a2f024f1291646b3bb6c18
py3: add a test that proves %include and missing-extension code works

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
@@ -20,4 +20,6 @@ The full traceback is hidden to have a s
   $ cat >> $HGRCPATH <<EOF
   > %include $TESTTMP/included-hgrc
   > EOF
-  $ $PYTHON3 `which hg` version --config ui.debug=1
+  $ $PYTHON3 `which hg` version | tail -1
+  *** failed to import extension babar from imaginary_elephant: *: 'imaginary_elephant' (glob)
+  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


More information about the Mercurial-devel mailing list