mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-07 05:16:14 +02:00
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:
committed by
Mark Nauwelaerts
parent
1796289df3
commit
1ee28bd233
@@ -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
|
||||
)
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user