• Andrey Vagin's avatar
    zdtm: don't call mount_cgroups a few times concurrently · eda6b3d0
    Andrey Vagin authored
    Here is a race now:
    ./zdtm.sh --ct -d -C -x static/cgroup02 ns/static/pipe02 &> ns_static_pipe02.log || \
    { flock Makefile cat ns_static_pipe02.log; exit 1; }
    ./zdtm.sh --ct -d -C -x static/cgroup02 ns/static/busyloop00 &> ns_static_busyloop00.log || \
    { flock Makefile cat ns_static_busyloop00.log; exit 1; }
    make[3]: `zdtm_ct' is up to date.
    mkdir: cannot create directory ‘zdtm.GgIjUS/holder’: File exists
    
    Reported-by: Mr Jenkins
    Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    eda6b3d0
zdtm_mount_cgroups 503 Bytes