From: Junio C Hamano Date: Wed, 25 May 2005 22:06:50 +0000 (-0700) Subject: [PATCH] Adjust show-files test for dotfiles. X-Git-Tag: v0.99~460 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=908bddab96230ed6d43726a8464057ad4c32d1a1;p=git.git [PATCH] Adjust show-files test for dotfiles. The earlier test was relying on the fact that dotfiles do not appear in the output to prepare expected test results, which inevitably got broken when we started handling dotfiles. Change the test to be honest about what "--other" file it creates. The problem was originally pointed out by Mark Allen. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/t/t3000-ls-files-others.sh b/t/t3000-ls-files-others.sh index 7f93e1cce..1f461e3e8 100755 --- a/t/t3000-ls-files-others.sh +++ b/t/t3000-ls-files-others.sh @@ -20,8 +20,9 @@ mkdir path2 date >path2/file2 test_expect_success \ 'git-ls-files --others to show output.' \ - 'git-ls-files --others >.output' -cat >.expected <output' +cat >expected <