aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-24 12:31:33 -0700
committerJunio C Hamano <gitster@pobox.com>2026-03-24 12:31:33 -0700
commit7f13e5c8c744ec8da268b6f774d16f2ea729f48e (patch)
tree6f1790101c23bf16395d2b91abf12c105846fae8 /t
parent448cea8de0cc29b7f323ef980e8bc02f268f5187 (diff)
parent48430e44ace97055567294d412dde9bb8adc0fbb (diff)
downloadgit-7f13e5c8c744ec8da268b6f774d16f2ea729f48e.tar.xz
Merge branch 'mf/t0008-cleanup'
Test clean-up. * mf/t0008-cleanup: t0008: improve test cleanup to fix failing test
Diffstat (limited to 't')
-rwxr-xr-xt/t0008-ignores.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t0008-ignores.sh b/t/t0008-ignores.sh
index db8bde280e..e716b5cdfa 100755
--- a/t/t0008-ignores.sh
+++ b/t/t0008-ignores.sh
@@ -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 &&