t0021: minor filter process test cleanup

Remove superfluous .gitignore pattern and invalid '.' in `git commit`
calls.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Lars Schneider 2016-12-04 14:37:31 +01:00 committed by Junio C Hamano
parent b18f6a0066
commit 9c48b4fb23

View File

@ -350,10 +350,9 @@ test_expect_success PERL 'required process filter should filter data' '
cd repo && cd repo &&
git init && git init &&
echo "git-stderr.log" >.gitignore &&
echo "*.r filter=protocol" >.gitattributes && echo "*.r filter=protocol" >.gitattributes &&
git add . && git add . &&
git commit . -m "test commit 1" && git commit -m "test commit 1" &&
git branch empty-branch && git branch empty-branch &&
cp "$TEST_ROOT/test.o" test.r && cp "$TEST_ROOT/test.o" test.r &&
@ -378,7 +377,7 @@ test_expect_success PERL 'required process filter should filter data' '
EOF EOF
test_cmp_count expected.log rot13-filter.log && test_cmp_count expected.log rot13-filter.log &&
filter_git commit . -m "test commit 2" && filter_git commit -m "test commit 2" &&
cat >expected.log <<-EOF && cat >expected.log <<-EOF &&
START START
init handshake complete init handshake complete