From: Dmitry Kurochkin Date: Tue, 10 May 2011 03:30:50 +0000 (+0400) Subject: test: copy files in test_expect_equal_file instead of moving them X-Git-Tag: debian/0.6_254~87 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=59a9c36316293b161528097a73c72d5f5ed58781;hp=59a9c36316293b161528097a73c72d5f5ed58781;p=notmuch test: copy files in test_expect_equal_file instead of moving them Before the change, test_expect_equal_file moved files it compared in case of failure. The patch changes it to copy the files instead. This allows testing non-temporary files which are stored in git. Note: the change should not result in new temporary files left after the tests. Test_expect_equal_file used to move files only on failure, so callers had to cleanup them anyway. ---