diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t7300-clean.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index 38403643a6..4037142927 100755 --- a/t/t7300-clean.sh +++ b/t/t7300-clean.sh @@ -320,8 +320,9 @@ test_expect_success 'removal failure' ' mkdir foo && touch foo/bar && + exec <foo/bar && chmod 0 foo && - ! git clean -f -d + test_must_fail git clean -f -d ' chmod 755 foo |