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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ea5b1f6e12
commit
7d53a07a28
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user