Skip to content
  • Christian Schoenebeck's avatar
    653daf38
    tests/9pfs: add local Tmkdir test · 653daf38
    Christian Schoenebeck authored
    
    
    This test case uses the 9pfs 'local' driver to create a directory
    and then checks if the expected directory was actually created
    (as real directory) on host side.
    
    This patch introduces a custom split() implementation, because
    the test code requires non empty array elements as result. For
    that reason g_strsplit() would not be a good alternative, as
    it would require additional filter code for reshuffling the
    array, and the resulting code would be even more complex than
    this split() function.
    
    Signed-off-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
    Message-Id: <be342f236842272275f65dbe05587f0a5409ad77.1602182956.git.qemu_oss@crudebyte.com>
    Signed-off-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
    653daf38
    tests/9pfs: add local Tmkdir test
    Christian Schoenebeck authored
    
    
    This test case uses the 9pfs 'local' driver to create a directory
    and then checks if the expected directory was actually created
    (as real directory) on host side.
    
    This patch introduces a custom split() implementation, because
    the test code requires non empty array elements as result. For
    that reason g_strsplit() would not be a good alternative, as
    it would require additional filter code for reshuffling the
    array, and the resulting code would be even more complex than
    this split() function.
    
    Signed-off-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
    Message-Id: <be342f236842272275f65dbe05587f0a5409ad77.1602182956.git.qemu_oss@crudebyte.com>
    Signed-off-by: default avatarChristian Schoenebeck <qemu_oss@crudebyte.com>
Loading