]> git.proxmox.com Git - mirror_qemu.git/commit
tests/virtio-9p: added readdir test
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Sat, 8 Feb 2020 08:24:19 +0000 (09:24 +0100)
committerGreg Kurz <groug@kaod.org>
Sat, 8 Feb 2020 08:29:04 +0000 (09:29 +0100)
commit4829469fd9ff091bc99176512b194b468ed60c1f
treedddc0663feb5deb9ef9cdb06f6c99ba2186b445e
parentaf46a3b233787323417bbca7b1aa3290935a5bdf
tests/virtio-9p: added readdir test

The first readdir test simply checks the amount of directory
entries returned by 9pfs server, according to the created amount
of virtual files on 9pfs synth driver side. Then the subsequent
readdir test also checks whether all directory entries have the
expected file names (as created on 9pfs synth driver side),
ignoring their precise order in result list though.

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <e0b4402722a877178f8fb6a8ad7b64bb20150613.1579567020.git.qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
tests/qtest/virtio-9p-test.c