Skip to content
  • Yonggang Luo's avatar
    8330bd53
    tests: fix test-util-sockets.c · 8330bd53
    Yonggang Luo authored
    
    
    Fixes following errors:
    Running test test-util-sockets
    ERROR test-util-sockets - missing test plan
    
    # Start of name tests
    **
    ERROR:../tests/test-util-sockets.c:93:test_socket_fd_pass_name_good: assertion failed (fd != -1): (-1 != -1)
    Bail out! ERROR:../tests/test-util-sockets.c:93:test_socket_fd_pass_name_good: assertion failed (fd != -1): (-1 != -1)
    
    First should call to qemu_init_main_loop before socket_init,
    then on win32 doesn't support for SOCKET_ADDRESS_TYPE_FD socket type
    
    Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Message-Id: <20200915121318.247-21-luoyonggang@gmail.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
    8330bd53
    tests: fix test-util-sockets.c
    Yonggang Luo authored
    
    
    Fixes following errors:
    Running test test-util-sockets
    ERROR test-util-sockets - missing test plan
    
    # Start of name tests
    **
    ERROR:../tests/test-util-sockets.c:93:test_socket_fd_pass_name_good: assertion failed (fd != -1): (-1 != -1)
    Bail out! ERROR:../tests/test-util-sockets.c:93:test_socket_fd_pass_name_good: assertion failed (fd != -1): (-1 != -1)
    
    First should call to qemu_init_main_loop before socket_init,
    then on win32 doesn't support for SOCKET_ADDRESS_TYPE_FD socket type
    
    Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
    Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
    Message-Id: <20200915121318.247-21-luoyonggang@gmail.com>
    Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Loading