mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
zdtm: use a separate file for flock
In Ubuntu flock opens a file with O_RDWR and then it can't be executed flock: ./zdtm_mount_cgroups: Text file busy Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
99ada64a72
commit
79e93ca79c
@ -432,7 +432,7 @@ class zdtm_test:
|
|||||||
subprocess.check_call(["make", "zdtm_ct"])
|
subprocess.check_call(["make", "zdtm_ct"])
|
||||||
if not os.access("zdtm/lib/libzdtmtst.a", os.F_OK):
|
if not os.access("zdtm/lib/libzdtmtst.a", os.F_OK):
|
||||||
subprocess.check_call(["make", "-C", "zdtm/"])
|
subprocess.check_call(["make", "-C", "zdtm/"])
|
||||||
subprocess.check_call(["flock", "zdtm_mount_cgroups", "./zdtm_mount_cgroups"])
|
subprocess.check_call(["flock", "zdtm_mount_cgroups.lock", "./zdtm_mount_cgroups"])
|
||||||
|
|
||||||
|
|
||||||
class inhfd_test:
|
class inhfd_test:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user