binary diff: test that the diff and patch otputs are the same
binary diff: test that the diff and patch otputs are the same

We test the generation of the textual patch via the patch function,
which are just one of two possibilities to get the output.

Add a second patch generation via the diff function to make sure both
outputs are in sync.

mingyaaaa/libgit2,spraints/libgit2,Tousiph/Demo1,spraints/libgit2,KTXSoftware/libgit2,sim0629/libgit2,mrksrm/Mingijura,joshtriplett/libgit2,t0xicCode/libgit2,KTXSoftware/libgit2,claudelee/libgit2,saurabhsuniljain/libgit2,yosefhackmon/libgit2,skabel/manguse,stewid/libgit2,nokiddin/libgit2,Corillian/libgit2,falqas/libgit2,mrksrm/Mingijura,since2014/libgit2,nokiddin/libgit2,magnus98/TEST,mhp/libgit2,since2014/libgit2,iankronquist/libgit2,yongthecoder/libgit2,sygool/libgit2,kissthink/libgit2,Corillian/libgit2,dleehr/libgit2,yosefhackmon/libgit2,mingyaaaa/libgit2,saurabhsuniljain/libgit2,leoyanggit/libgit2,claudelee/libgit2,mcanthony/libgit2,nokiddin/libgit2,saurabhsuniljain/libgit2,stewid/libgit2,jeffhostetler/public_libgit2,t0xicCode/libgit2,yosefhackmon/libgit2,joshtriplett/libgit2,saurabhsuniljain/libgit2,JIghtuse/libgit2,oaastest/libgit2,JIghtuse/libgit2,sygool/libgit2,iankronquist/libgit2,yongthecoder/libgit2,leoyanggit/libgit2,kissthink/libgit2,KTXSoftware/libgit2,leoyanggit/libgit2,MrHacky/libgit2,linquize/libgit2,falqas/libgit2,MrHacky/libgit2,kenprice/libgit2,joshtriplett/libgit2,kissthink/libgit2,joshtriplett/libgit2,oaastest/libgit2,falqas/libgit2,jeffhostetler/public_libgit2,Corillian/libgit2,stewid/libgit2,stewid/libgit2,dleehr/libgit2,stewid/libgit2,sygool/libgit2,kenprice/libgit2,kissthink/libgit2,oaastest/libgit2,Tousiph/Demo1,iankronquist/libgit2,mcanthony/libgit2,Corillian/libgit2,Tousiph/Demo1,leoyanggit/libgit2,skabel/manguse,Tousiph/Demo1,saurabhsuniljain/libgit2,sygool/libgit2,skabel/manguse,joshtriplett/libgit2,linquize/libgit2,iankronquist/libgit2,skabel/manguse,mingyaaaa/libgit2,MrHacky/libgit2,sygool/libgit2,JIghtuse/libgit2,spraints/libgit2,oaastest/libgit2,mhp/libgit2,magnus98/TEST,yongthecoder/libgit2,KTXSoftware/libgit2,sim0629/libgit2,kenprice/libgit2,kissthink/libgit2,sim0629/libgit2,linquize/libgit2,jeffhostetler/public_libgit2,since2014/libgit2,jeffhostetler/public_libgit2,t0xicCode/libgit2,Tousiph/Demo1,mrksrm/Mingijura,saurabhsuniljain/libgit2,claudelee/libgit2,mrksrm/Mingijura,mingyaaaa/libgit2,JIghtuse/libgit2,mhp/libgit2,magnus98/TEST,dleehr/libgit2,leoyanggit/libgit2,ardumont/libgit2,magnus98/TEST,sim0629/libgit2,mingyaaaa/libgit2,falqas/libgit2,linquize/libgit2,t0xicCode/libgit2,yosefhackmon/libgit2,jeffhostetler/public_libgit2,yongthecoder/libgit2,spraints/libgit2,dleehr/libgit2,t0xicCode/libgit2,yongthecoder/libgit2,linquize/libgit2,iankronquist/libgit2,KTXSoftware/libgit2,mhp/libgit2,skabel/manguse,yongthecoder/libgit2,oaastest/libgit2,Corillian/libgit2,Tousiph/Demo1,stewid/libgit2,mrksrm/Mingijura,nokiddin/libgit2,nokiddin/libgit2,since2014/libgit2,falqas/libgit2,MrHacky/libgit2,kenprice/libgit2,claudelee/libgit2,iankronquist/libgit2,kissthink/libgit2,t0xicCode/libgit2,ardumont/libgit2,jeffhostetler/public_libgit2,spraints/libgit2,ardumont/libgit2,mcanthony/libgit2,oaastest/libgit2,kenprice/libgit2,falqas/libgit2,dleehr/libgit2,sim0629/libgit2,spraints/libgit2,mcanthony/libgit2,leoyanggit/libgit2,joshtriplett/libgit2,kenprice/libgit2,ardumont/libgit2,claudelee/libgit2,linquize/libgit2,mhp/libgit2,sim0629/libgit2,JIghtuse/libgit2,nokiddin/libgit2,claudelee/libgit2,KTXSoftware/libgit2,JIghtuse/libgit2,dleehr/libgit2,ardumont/libgit2,magnus98/TEST,mrksrm/Mingijura,Corillian/libgit2,MrHacky/libgit2,yosefhackmon/libgit2,skabel/manguse,since2014/libgit2,mhp/libgit2,magnus98/TEST,since2014/libgit2,mcanthony/libgit2,sygool/libgit2,ardumont/libgit2,mingyaaaa/libgit2,mcanthony/libgit2,yosefhackmon/libgit2,MrHacky/libgit2