From: Johannes Sixt Date: Sun, 9 Aug 2009 15:38:04 +0000 (+0200) Subject: t0001-init: fix a file name X-Git-Tag: v1.6.5-rc0~97 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7d53a07a2833116cdf52ca256375c6b37f4d6b46;p=git-core%2Fgit.git t0001-init: fix a file name Without this change, grep fails because it does not find the file instead of because it does not find the text in the file. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/t/t0001-init.sh b/t/t0001-init.sh index 49caa2906..07e011d9e 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -251,7 +251,7 @@ test_expect_success 'init creates a new deep directory' ' git init --bare --shared=0660 newdir/a/b/c && test -d newdir/a/b/c/refs && ls -ld newdir/a newdir/a/b > lsab.out && - ! grep -v "^drwxrw[sx]r-x" ls.out && + ! grep -v "^drwxrw[sx]r-x" lsab.out && ls -ld newdir/a/b/c > lsc.out && ! grep -v "^drwxrw[sx]---" lsc.out )