]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/9p: Test `Tsetattr` can truncate unlinked file
authorGreg Kurz <groug@kaod.org>
Wed, 12 Mar 2025 15:29:32 +0000 (16:29 +0100)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Mon, 5 May 2025 09:28:29 +0000 (11:28 +0200)
commit610dc187e52605c8ea8d14c5e7d8e7384f8af290
tree49bb69cc55e1517002d2aa86df80b7d694f4314c
parent4719a2d59176a6c850e2b4f1af44cecd25430fce
tests/9p: Test `Tsetattr` can truncate unlinked file

Enhance the `use-after-unlink` test with a new check for the
case where the client wants to alter the size of an unlinked
file for which it still has an active fid.

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