Code

tests: make test-apply-criss-cross-rename more robust
authorMichał Kiedrowicz <michal.kiedrowicz@gmail.com>
Sat, 18 Apr 2009 21:03:57 +0000 (23:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 20:47:02 +0000 (13:47 -0700)
commitf0583867e746985e9d62f57d5ba6ce27b2603447
treeb0a67fc24414be10381468d0bfb67e123b370d68
parente8141fcf54b4e8c2c12300da1ad1bc3573a4e204
tests: make test-apply-criss-cross-rename more robust

I realized that this test does check if git-apply succeeds, but doesn't
tell if it applies patches correctly. So I added test_cmp to check it.

I also added a test which checks swapping three files.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4130-apply-criss-cross-rename.sh