File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -946,7 +946,7 @@ test_expect_success SYMLINKS 'symlinks respected in info/exclude' '
946946'
947947
948948test_expect_success SYMLINKS ' symlinks not respected in-tree' '
949- test_when_finished "rm .gitignore" &&
949+ test_when_finished "rm -rf subdir .gitignore err actual " &&
950950 ln -s ignore .gitignore &&
951951 mkdir subdir &&
952952 ln -s ignore subdir/.gitignore &&
@@ -957,6 +957,7 @@ test_expect_success SYMLINKS 'symlinks not respected in-tree' '
957957
958958test_expect_success EXPENSIVE ' large exclude file ignored in tree' '
959959 test_when_finished "rm .gitignore" &&
960+ find . -name .gitignore -exec rm "{}" ";" &&
960961 dd if=/dev/zero of=.gitignore bs=101M count=1 &&
961962 git ls-files -o --exclude-standard 2>err &&
962963 echo "warning: ignoring excessively large pattern file: .gitignore" >expect &&
You can’t perform that action at this time.
0 commit comments