diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-05-10 07:30:50 +0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-31 15:10:23 -0700 |
commit | 59a9c36316293b161528097a73c72d5f5ed58781 (patch) | |
tree | 2dc97db1dcc2cfba1db505d0de560aaad168a5f7 /json.c | |
parent | a87a6b99f9f94ec7e0b4299b5824477f9056bab1 (diff) |
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.
Diffstat (limited to 'json.c')
0 files changed, 0 insertions, 0 deletions