1
0
Fork 0
mirror of synced 2024-12-12 18:35:46 -05:00

Add test for permission bug (#174)

This commit is contained in:
Tim Byrne 2019-11-11 23:28:16 -06:00
parent c222644f8c
commit c29834ed86
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12

View file

@ -98,3 +98,6 @@ def test_perms_control(runner, yadm_y, paths, ds1, sshperms, gpgperms):
else:
assert oct(private.stat().mode).endswith('00'), (
'Path has not been secured')
# verify permissions aren't changed for the worktree
assert oct(paths.work.stat().mode).endswith('0755')