From 1ee28bd23386ae31d4825f635969d82150f3530f Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 31 Mar 2021 19:58:03 +0800 Subject: [PATCH] Use a compatible umask for the executable bit preservation test More restrictive umasks like 027 will cause the test to fail. Ubuntu 21.04 will change the default umask to 027. --- test/main-push.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main-push.t b/test/main-push.t index 61f3a23..8254a5e 100755 --- a/test/main-push.t +++ b/test/main-push.t @@ -270,10 +270,10 @@ test_expect_success 'push with renamed executable preserves executable bit' ' ) && ( + umask 0 && cd hgrepo && hg update && stat content2 >expected && - # umask mileage might vary grep -- -r.xr.xr.x expected ) '