Browse Source

t7800: cleanup cruft left behind by tests

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
David Aguilar 8 years ago committed by Junio C Hamano
parent
commit
98fde5e47b
  1. 5
      t/t7800-difftool.sh

5
t/t7800-difftool.sh

@ -591,6 +591,7 @@ test_expect_success 'difftool --no-symlinks detects conflict ' ' @@ -591,6 +591,7 @@ test_expect_success 'difftool --no-symlinks detects conflict ' '
'

test_expect_success 'difftool properly honors gitlink and core.worktree' '
test_when_finished rm -rf submod/ule &&
git submodule add ./. submod/ule &&
test_config -C submod/ule diff.tool checktrees &&
test_config -C submod/ule difftool.checktrees.cmd '\''
@ -600,11 +601,13 @@ test_expect_success 'difftool properly honors gitlink and core.worktree' ' @@ -600,11 +601,13 @@ test_expect_success 'difftool properly honors gitlink and core.worktree' '
cd submod/ule &&
echo good >expect &&
git difftool --tool=checktrees --dir-diff HEAD~ >actual &&
test_cmp expect actual
test_cmp expect actual &&
rm -f expect actual
)
'

test_expect_success SYMLINKS 'difftool --dir-diff symlinked directories' '
test_when_finished git reset --hard &&
git init dirlinks &&
(
cd dirlinks &&

Loading…
Cancel
Save