All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: Greg Kurz <groug@kaod.org>
Subject: [PATCH 0/3] tests/9p: add use-dir-after-unlink test
Date: Thu, 9 Jan 2025 14:04:38 +0100	[thread overview]
Message-ID: <cover.1736427878.git.qemu_oss@crudebyte.com> (raw)

Add a test case that verifies that it is possible to do some basic operations
on a deleted directory if 9p client opened the directory before directory was
removed.

Unlike the previous open-unlink-fstat idiom: no fix required here. It already
works with 9p server.

Christian Schoenebeck (3):
  tests/9p: rename test use_after_unlink -> use_file_after_unlink
  tests/9p: add use_dir_after_unlink test
  tests/9p: extend use_dir_after_unlink test with Treaddir

 tests/qtest/virtio-9p-test.c | 50 +++++++++++++++++++++++++++++++++---
 1 file changed, 46 insertions(+), 4 deletions(-)

-- 
2.39.5



             reply	other threads:[~2025-01-09 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 13:04 Christian Schoenebeck [this message]
2025-01-09 12:59 ` [PATCH 1/3] tests/9p: rename test use_after_unlink -> use_file_after_unlink Christian Schoenebeck
2025-01-09 12:59 ` [PATCH 2/3] tests/9p: add use_dir_after_unlink test Christian Schoenebeck
2025-01-09 12:59 ` [PATCH 3/3] tests/9p: extend use_dir_after_unlink test with Treaddir Christian Schoenebeck
2025-01-30 14:27 ` [PATCH 0/3] tests/9p: add use-dir-after-unlink test Christian Schoenebeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1736427878.git.qemu_oss@crudebyte.com \
    --to=qemu_oss@crudebyte.com \
    --cc=groug@kaod.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.