Re: [PATCH v2] git-p4: fix faulty paths for case insensitive systems
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 20, 2015, 15:55 UTC
- Message-ID
- <xmqq37ze7y4o.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <917E3751-4BC8-4034-9101-30C77426D81C@gmail.com>
Lars Schneider <larsxschneider@gmail.com> writes:
Show 5 quoted lines
>>> + find . | grep TWO/file1.txt && >>> + find . | grep TWO/File2.txt && >>> + find . | grep TWO/file3.txt && >> Not sure about the find | grep here either. > See answers above.
These are not very good tests; they will match "OTWO/file1.txto", too. Besides, it is wasteful to run find three times.
find ?* -print | sort >actual &&
cat >expect <<-\EOF &&
TWO/file1.txt
...
EOF
test_cmp expect actualor something like that instead?