Skip to content

Mac: Prevent deletes of the index by non-git processes and enable related functional tests#267

Merged
wilbaker merged 4 commits intomicrosoft:masterfrom
wilbaker:block_index_delete_outside_git_command
Sep 13, 2018
Merged

Mac: Prevent deletes of the index by non-git processes and enable related functional tests#267
wilbaker merged 4 commits intomicrosoft:masterfrom
wilbaker:block_index_delete_outside_git_command

Conversation

@wilbaker
Copy link
Member

Summary of changes

  • Block deletes of the index when the GVFSLock is not held by git
  • Updated BashRunner to expect different messages on Windows and Mac when deletes are blocked
  • Enabled BasicFileSystemTests. DeleteIndexFileFails test on Mac
  • Enabled all GVFSLockTests tests on Mac

Closes #222

Copy link
Contributor

@sanoursa sanoursa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good. Mainly just wondering about the sustainability of sprinkling platform checks throughout the test code.

@wilbaker wilbaker merged commit 4717b1d into microsoft:master Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants