Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mg/lib-gpg-ro-safety'
[gitweb.git]
/
t
/
t7300-clean.sh
diff --git
a/t/t7300-clean.sh
b/t/t7300-clean.sh
index 74de814aec1465848ba316e867106a18635139f6..04118ad75be8462fa2ee1e5e870feb0a44ac0482 100755
(executable)
--- a/
t/t7300-clean.sh
+++ b/
t/t7300-clean.sh
@@
-426,10
+426,10
@@
test_expect_success SANITY 'removal failure' '
mkdir foo &&
touch foo/bar &&
+ test_when_finished "chmod 755 foo" &&
(exec <foo/bar &&
chmod 0 foo &&
- test_must_fail git clean -f -d &&
- chmod 755 foo)
+ test_must_fail git clean -f -d)
'
test_expect_success 'nested git work tree' '