tests/core/filebuf.c


Log

Author Commit Date CI Message
Carlos Martín Nieto adb8f8d0 2015-07-24T18:44:29 filebuf: failing test for leaving the lockfile when failing to rename When we fail to rename, we currently leave the lockfile laying around. This shows that behaviour.
Carlos Martín Nieto 62a273cc 2015-07-24T19:22:41 filebuf: remove lockfile upon rename errors When we have an error renaming the lockfile, we need to make sure that we remove it upon cleanup. For this, we need to keep track of whether we opened the file and whether the rename succeeded. If we did create the lockfile but the rename did not succeed, we remove the lockfile. This won't protect against all errors, but the most common ones (target file is open) does get handled.
Ben Straub 17820381 2013-11-14T14:05:52 Rename tests-clar to tests