[Python-apps-team] r8241 - in /packages/mercurial/trunk/debian: changelog patches/for_upstream__test_false_positive_kfreebsd.patch patches/series

Julien Cristau jcristau at debian.org
Wed Feb 29 13:21:20 UTC 2012


Hi Javi,

On Wed, Feb 29, 2012 at 08:50:10 -0000, vicho at users.alioth.debian.org wrote:

> URL: http://svn.debian.org/wsvn/python-apps/packages/mercurial/trunk/debian/patches/for_upstream__test_false_positive_kfreebsd.patch?rev=8241&op=file
> ==============================================================================
> --- packages/mercurial/trunk/debian/patches/for_upstream__test_false_positive_kfreebsd.patch (added)
> +++ packages/mercurial/trunk/debian/patches/for_upstream__test_false_positive_kfreebsd.patch Wed Feb 29 08:50:08 2012
> @@ -1,0 +1,17 @@
> +Author: Javi Merino <vicho at debian.org>
> +Description: Fix a false positive fail in a test on kfreebsd-*
> + test-inherit-mode fails on kfreebsd-* because of differences in the
> + output of chmod.  This is not a real failure, so don't flag it as
> + such.
> +Forwarded: No
> +--- a/tests/test-inherit-mode.t
> ++++ b/tests/test-inherit-mode.t
> +@@ -138,7 +138,7 @@
> +   $ hg init setgid
> +   $ cd setgid
> +   $ chmod g+rwx .hg/store
> +-  $ chmod g+s .hg/store 2> /dev/null
> ++  $ chmod g+s .hg/store > /dev/null 2> /dev/null
> +   $ mkdir dir
> +   $ touch dir/file
> +   $ hg ci -qAm 'add dir/file'
> 
Seems like the issue is rather that chmod is *returning* 1, not
outputting it?  Not throwing its stderr away might actually help know
why, I guess :)

Cheers,
Julien



More information about the Python-apps-team mailing list