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
1 changed files with 3 additions and 0 deletions

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