From: Nir Soffer <nsoffer(a)redhat.com>
This series fix some general issues and improve test coverage:
- Improve daemon tests infrastructure
- Add tests for sanlock lockfile funcionallity
- Fix race when unlinking lockfile on exit
- Normalize sanlock exit code on failures
Nir Soffer (5):
Extract start_sanlock_deamon() helper
Start new daemon for every test
Add tests for sanlock lockfile
Do not unlink sanlock lockfile on shutdown
Normalize sanlock exit code
src/lockfile.c | 10 -------
src/lockfile.h | 1 -
src/main.c | 4 +--
tests/daemon_test.py | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++--
4 files changed, 81 insertions(+), 16 deletions(-)
--
2.9.5
Show replies by date