eGit is used as AUT.
Steps to reproduce:
1. At the running test the following file is locked - TestGit\.git\objects\pack\pack*.pack.
And the following test cannot be run.
2. Set this file in the "Do not clear following folders or files" field of Workspace context
3. Apply Workspace context with clearing workspace.
Defined file is ignored, but applying context is failed, the following message is displayed:
Failed to apply context "WSContextWithFilledRep" caused by:
Failed to delete files or folders:
In this case all parent folders should be ignored too.