git-p4: fix copy detection test
commit138ce9c29f622ea962ee3ed676dd137e20397fcf
authorVitor Antunes <vitor.hda@gmail.com>
Sat, 28 Mar 2015 00:03:03 +0000 (28 00:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Mar 2015 15:55:54 +0000 (28 08:55 -0700)
tree1115e53f15d0ef09b109ad4bb4eb66a34621eca7
parent83e085a1f92e034ea70416cef3b75db7c0581ff3
git-p4: fix copy detection test

File file11 is copied from file2 and diff-tree correctly reports
this file as its the source. But it is possible that the diff-tree
algorithm detects file10, which was also copied from file2, as the
origin of the new file.

This fix uses a case statement to support both files as the source
of file11, as was done in other tests in this file.

Signed-off-by: Vitor Antunes <vitor.hda@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9814-git-p4-rename.sh