[Python-apps-team] Bug#901016: hg-git: autopkgtests are failing
Daniel Watkins
oddbloke at ubuntu.com
Fri Jun 8 04:26:19 BST 2018
Package: hg-git
Version: 0.8.11-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear Maintainer,
There is a mismatch in the case of the actual and expected output which
can be fixed by applying this patch:
* debian/patches/fix-test-capitalisation.patch: Fix capitalisation
mismatches in tests.
Thanks for considering it.
-------------- next part --------------
diff -Nru hg-git-0.8.11/debian/patches/fix-test-capitalisation.patch hg-git-0.8.11/debian/patches/fix-test-capitalisation.patch
--- hg-git-0.8.11/debian/patches/fix-test-capitalisation.patch 1969-12-31 16:00:00.000000000 -0800
+++ hg-git-0.8.11/debian/patches/fix-test-capitalisation.patch 2018-06-07 20:20:40.000000000 -0700
@@ -0,0 +1,43 @@
+Description: Fix capitalisation mismatches in tests
+Author: Daniel Watkins <oddbloke at ubuntu.com>
+Forwarded: no
+Last-Update: 2018-06-07
+--- a/tests/test-git-clone.t
++++ b/tests/test-git-clone.t
+@@ -51,8 +51,8 @@
+ abort: potentially unsafe hostname: '-oProxyCommand=rm${IFS}nonexistent'
+ [255]
+ $ hg clone 'git+ssh://fakehost|rm${IFS}nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7crm%24%7bifs%7dnonexistent* (glob)
++ ssh: * fakehost%7Crm%24%7BIFS%7Dnonexistent* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
+ $ hg clone 'git+ssh://fakehost%7Crm${IFS}nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7crm%24%7bifs%7dnonexistent* (glob)
++ ssh: * fakehost%7Crm%24%7BIFS%7Dnonexistent* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
+--- a/tests/test-pull.t
++++ b/tests/test-pull.t
+@@ -366,8 +366,8 @@
+ abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent'
+ [255]
+ $ hg pull 'git+ssh://fakehost|shellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7cshellcommand* (glob)
++ ssh: * fakehost%7Cshellcommand* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
+ $ hg pull 'git+ssh://fakehost%7Cshellcommand/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7cshellcommand* (glob)
++ ssh: * fakehost%7Cshellcommand* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
+--- a/tests/test-push.t
++++ b/tests/test-push.t
+@@ -211,8 +211,8 @@
+ abort: potentially unsafe hostname: '-oProxyCommand=rm nonexistent'
+ [255]
+ $ hg push 'git+ssh://fakehost|rm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7crm%20nonexistent* (glob)
++ ssh: * fakehost%7Crm%20nonexistent* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
+ $ hg push 'git+ssh://fakehost%7Crm%20nonexistent/path' 2>&1 >/dev/null | grep -v ^devel-warn:
+- ssh: * fakehost%7crm%20nonexistent* (glob)
++ ssh: * fakehost%7Crm%20nonexistent* (glob)
+ abort: git remote error: The remote server unexpectedly closed the connection.
diff -Nru hg-git-0.8.11/debian/patches/series hg-git-0.8.11/debian/patches/series
--- hg-git-0.8.11/debian/patches/series 1969-12-31 16:00:00.000000000 -0800
+++ hg-git-0.8.11/debian/patches/series 2018-06-07 20:06:19.000000000 -0700
@@ -0,0 +1 @@
+fix-test-capitalisation.patch
More information about the Python-apps-team
mailing list