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.
This commit is contained in:
Paul Wise
2021-03-31 19:58:03 +08:00
committed by Mark Nauwelaerts
parent 1796289df3
commit 1ee28bd233

View File

@@ -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
)
'