#3452 Add tests checking the behavior when uploading two files and fix two bugs
Merged by pingou. Opened by pingou.
fix_checksums  into  master

Download 3452.patch

The two bugs were:
- Ensure we run update the checksums only once, even if we upload two
files, otherwise, the first file uploaded ends up twice in the
checksums file.
- Ensure we do not write twice the header line when uploading two files
to a project that did not have a checksums file before.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto b7a2fa002dcb9e6dd74bb5962c44f04cdaf5f149

:thumbsup:

rebased onto 4c06f0f1e69074f21ed8df3d1e1008f9ccd8fcce

Thanks for the review ! :)

Pull-Request has been merged by pingou

Metadata