[PATCH STABLE] blackbox: don't run permission tests on non-unix systems

Matt Mackall mpm at selenic.com
Mon Apr 22 22:38:47 CDT 2013


On Mon, 2013-04-22 at 18:59 -0700, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1366678859 25200
> #      Mon Apr 22 18:00:59 2013 -0700
> # Branch stable
> # Node ID f3b82da3de1b2a39d6564322cb3ffeba98f5e9b6
> # Parent  e97ce4a5afc5c68764a951f125c125880018adbf
> blackbox: don't run permission tests on non-unix systems
> 
> The windows and vfat test runs were failing due to read/write permissions not
> working the same on those systems.  On vfat, permissions can't be changed
> at all, and on windows it seems the chmod emulation doesn't remove read
> permissions.  We could theoretically get the 'cannot write to blacklog.log'
> test to pass on windows but there's no #if condition to let us exclude vfat
> only.
> 
> Verified that test-blackbox passes on windows now.

Excellent, queued for stable.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list