diff options
| author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2022-03-15 11:08:47 +0100 |
|---|---|---|
| committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2022-06-16 12:44:52 +0200 |
| commit | 0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb (patch) | |
| tree | 6644dcae595f045f1c7ad6623f7c078e5c58d3d8 /hw/mips/mips_int.c | |
| parent | 15fbff488a908af01210071ffad70f9254d077fc (diff) | |
| download | focaccia-qemu-0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb.tar.gz focaccia-qemu-0e43495d3b4a50fc5e22f7b71261fdd5b56fdfcb.zip | |
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 'hw/mips/mips_int.c')
0 files changed, 0 insertions, 0 deletions