Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/fetch-optim'
[gitweb.git]
/
t
/
t7300-clean.sh
diff --git
a/t/t7300-clean.sh
b/t/t7300-clean.sh
index dfd118878fd37c096ccd426aa01fa2ac36581367..4037142927ab1b255da90d8f08207841b4e4c993 100755
(executable)
--- a/
t/t7300-clean.sh
+++ b/
t/t7300-clean.sh
@@
-316,4
+316,15
@@
test_expect_success 'core.excludesfile' '
'
+test_expect_success 'removal failure' '
+
+ mkdir foo &&
+ touch foo/bar &&
+ exec <foo/bar &&
+ chmod 0 foo &&
+ test_must_fail git clean -f -d
+
+'
+chmod 755 foo
+
test_done