diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-02 12:52:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-02 12:52:46 -0700 |
commit | 64d845477b555a06ce469860861691d003335e9c (patch) | |
tree | 5b11e3b1e24ec047311d18abf2c4d31d7e01f7f7 /t | |
parent | 7fe683480124239ec0ab555c9b529e4c54707d7b (diff) | |
parent | c2f7b1026e33e308782fcb1b60e3d7af107fdc18 (diff) | |
download | git-64d845477b555a06ce469860861691d003335e9c.tar.gz |
Merge branch 'maint'
* maint:
t7300: repair filesystem permissions with test_when_finished
enums: remove trailing ',' after last item in enum
Diffstat (limited to 't')
-rwxr-xr-x | t/t7300-clean.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index 74de814aec..04118ad75b 100755 --- 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' ' |