[ClusterLabs/libqb] 67e739: tests: Improve test isolation (#298)
by Chrissie Caulfield
Branch: refs/heads/master
Home: https://github.com/ClusterLabs/libqb
Commit: 67e739e83fb9672c0d3c0fe556c3bf682a925de6
https://github.com/ClusterLabs/libqb/commit/67e739e83fb9672c0d3c0fe556c3b...
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2018-03-08 (Thu, 08 Mar 2018)
Changed paths:
M tests/Makefile.am
M tests/check_ipc.c
M tests/resources.test
A tests/start.test
Log Message:
-----------
tests: Improve test isolation (#298)
* tests: Improve test isolation
Make all the IPC tests run with a common date/pid stamp name, so that
the final resource.test only fails if it finds one of OUR files left
lying around and not those from another test.
Falls back to old IPC naming style if we can't create the file.
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Reviewed-by: Jan Friesse <jfriesse(a)redhat.com>
6 years, 2 months