From: Johannes Sixt Date: Sun, 09 Aug 2009 15:38:04 GMT Subject: [PATCH 1/2] t0001-init: fix a file name Message-ID: <4A7EED5C.8050707@kdbg.org> 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 --- t/t0001-init.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/t0001-init.sh b/t/t0001-init.sh index 49caa29..07e011d 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 ) -- 1.6.4.1186.g1d9a