aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/modules-test.c
diff options
context:
space:
mode:
authorChristian Schoenebeck <qemu_oss@crudebyte.com>2022-03-15 11:08:47 +0100
committerChristian Schoenebeck <qemu_oss@crudebyte.com>2022-06-16 12:44:52 +0200
commit0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb (patch)
tree6644dcae595f045f1c7ad6623f7c078e5c58d3d8 /tests/qtest/modules-test.c
parent15fbff488a908af01210071ffad70f9254d077fc (diff)
downloadqemu-0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb.zip
qemu-0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb.tar.gz
qemu-0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb.tar.bz2
tests/9pfs: check fid being unaffected in fs_walk_2nd_nonexistent
Extend previously added test case by checking that fid was unaffected by 'Twalk' request (i.e. when 2nd path component of request being invalid). Do that by subsequently sending a 'Tgetattr' request with the fid previously used for 'Twalk'; that 'Tgetattr' request should return an 'Rlerror' response by 9p server with error code ENOENT as that fid is basically invalid. And as we are at it, also check that the QID returned by 'Twalk' is not identical to the root node's QID. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <6f0813cafdbf683cdac8b1492dd4ef8699c5b1d9.1647339025.git.qemu_oss@crudebyte.com>
Diffstat (limited to 'tests/qtest/modules-test.c')
0 files changed, 0 insertions, 0 deletions