• Andrey Vagin's avatar
    zdtm/mountpoints: add "unknown" options to reproduce the previous bug · 75768982
    Andrey Vagin authored
    tmpfs has the "size" option, which is not standard.
    
    Execute zdtm/live/static/mountpoints
    ./mountpoints --pidfile=mountpoints.pid --outfile=mountpoints.out
    Dump 2737
    WARNING: mountpoints returned 1 and left running for debug needs
    Test: zdtm/live/static/mountpoints, Result: FAIL
    ==================================== ERROR ====================================
    Test: zdtm/live/static/mountpoints, Namespace:
    Dump log   : /root/git/criu/test/dump/static/mountpoints/2737/1/dump.log
    --------------------------------- grep Error ---------------------------------
    (00.146444) Error (mount.c:399): Two shared mounts 50, 67 have different sets of children
    (00.146460) Error (mount.c:402): 67:./zdtm_mpts/dev/share-1 doesn't have a proper point for 54:./zdtm_mpts/dev/share-3/test.mnt.share
    (00.146820) Error (cr-dump.c:1921): Dumping FAILED.
    ------------------------------------- END -------------------------------------
    ================================= ERROR OVER =================================
    Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Tested-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    75768982
mountpoints.c 8.71 KB