mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-11 21:18:46 -05:00
Merge branch 'mf/t0008-cleanup' into next
Test clean-up. * mf/t0008-cleanup: t0008: improve test cleanup to fix failing test
This commit is contained in:
@@ -946,7 +946,7 @@ test_expect_success SYMLINKS 'symlinks respected in info/exclude' '
|
||||
'
|
||||
|
||||
test_expect_success SYMLINKS 'symlinks not respected in-tree' '
|
||||
test_when_finished "rm .gitignore" &&
|
||||
test_when_finished "rm -rf subdir .gitignore err actual" &&
|
||||
ln -s ignore .gitignore &&
|
||||
mkdir subdir &&
|
||||
ln -s ignore subdir/.gitignore &&
|
||||
@@ -957,6 +957,7 @@ test_expect_success SYMLINKS 'symlinks not respected in-tree' '
|
||||
|
||||
test_expect_success EXPENSIVE 'large exclude file ignored in tree' '
|
||||
test_when_finished "rm .gitignore" &&
|
||||
find . -name .gitignore -exec rm "{}" ";" &&
|
||||
dd if=/dev/zero of=.gitignore bs=101M count=1 &&
|
||||
git ls-files -o --exclude-standard 2>err &&
|
||||
echo "warning: ignoring excessively large pattern file: .gitignore" >expect &&
|
||||
|
||||
Reference in New Issue
Block a user