What is ´cmp´? If it should be the expected target filename, you might want to rename it to something like ´expected_target´.