summaryrefslogtreecommitdiff
path: root/t/t0001-init.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-08-09 17:38:04 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-09 10:41:37 -0700
commit7d53a07a2833116cdf52ca256375c6b37f4d6b46 (patch)
tree90f1b7bf6d9e9072913000cebf72aa097464998b /t/t0001-init.sh
parentea5b1f6e129883479246e607e664b427b4ba779c (diff)
downloadgit-7d53a07a2833116cdf52ca256375c6b37f4d6b46.tar.gz
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>
Diffstat (limited to 't/t0001-init.sh')
-rwxr-xr-xt/t0001-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index 49caa29061..07e011d9ef 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
)