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

login
register
mail settings
Submitter Augie Fackler
Date March 7, 2017, 4:25 p.m.
Message ID <a6e8bb19707e0c7505cc.1488903918@augie-macbookair2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/18962/
State Superseded
Headers show

Comments

Augie Fackler - March 7, 2017, 4:25 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1488567128 18000
#      Fri Mar 03 13:52:08 2017 -0500
# Node ID a6e8bb19707e0c7505ccfdf44f7e1b19a0f65d48
# Parent  adf7419abb89aef332ac5eac48a0f1c9d3eab527
py3: add a test that proves %include and missing-extension code works

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