tests/9p: add 'use-after-unlink' test
authorChristian Schoenebeck <qemu_oss@crudebyte.com>
Wed, 21 Feb 2024 14:13:13 +0000 (15:13 +0100)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Thu, 28 Nov 2024 17:54:00 +0000 (18:54 +0100)
commit462db8fb1d405391b83a0d3099fdb9bfb85c2d92
tree20f53535379ed07b28a5caec8c6ae94149e31169
parentf2db23ede5b3015330c2314f796dd694f35c7508
tests/9p: add 'use-after-unlink' test

After removing a file from the file system, we should still be able to
work with the file if we already had it open before removal.

As a first step we verify that it is possible to write to an unlinked
file, as this is what already works. This test is extended later on
after having fixed other use cases after unlink that are not working
yet.

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