From 908bddab96230ed6d43726a8464057ad4c32d1a1 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 25 May 2005 15:06:50 -0700 Subject: [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 7f93e1c..1f461e3 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 <