diff options
author | Christian Schoenebeck | 2020-10-08 20:34:56 +0200 |
---|---|---|
committer | Christian Schoenebeck | 2020-10-19 14:25:40 +0200 |
commit | 653daf38978d101d8810f96b9337ebc6b7b1423f (patch) | |
tree | 97140ff2ef864462f144ac068f50bd25ebc14854 /hw | |
parent | tests/9pfs: add virtio_9p_test_path() (diff) | |
download | qemu-653daf38978d101d8810f96b9337ebc6b7b1423f.tar.gz qemu-653daf38978d101d8810f96b9337ebc6b7b1423f.tar.xz qemu-653daf38978d101d8810f96b9337ebc6b7b1423f.zip |
tests/9pfs: add local Tmkdir test
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: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <be342f236842272275f65dbe05587f0a5409ad77.1602182956.git.qemu_oss@crudebyte.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions