From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Beraldo Leal" <bleal@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PATCH 2/2] tests/unit/test-seccomp: Remove mentions of softmmu in test names
Date: Mon, 2 Oct 2023 16:51:04 +0200 [thread overview]
Message-ID: <20231002145104.52193-3-philmd@linaro.org> (raw)
In-Reply-To: <20231002145104.52193-1-philmd@linaro.org>
Wether we are using a software MMU or not is irrelevant for the
seccomp facility. The facility is restricted to system emulation,
but such detail isn't really helpful, so directly drop the
'softmmu' mention from the test names.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tests/unit/test-seccomp.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/tests/unit/test-seccomp.c b/tests/unit/test-seccomp.c
index f02c79cafd..bab93fd6da 100644
--- a/tests/unit/test-seccomp.c
+++ b/tests/unit/test-seccomp.c
@@ -229,26 +229,26 @@ int main(int argc, char **argv)
g_test_init(&argc, &argv, NULL);
if (can_play_with_seccomp()) {
#ifdef SYS_fork
- g_test_add_func("/softmmu/seccomp/sys-fork/on",
+ g_test_add_func("/seccomp/sys-fork/on",
test_seccomp_sys_fork_on);
- g_test_add_func("/softmmu/seccomp/sys-fork/on-nospawn",
+ g_test_add_func("/seccomp/sys-fork/on-nospawn",
test_seccomp_sys_fork_on_nospawn);
- g_test_add_func("/softmmu/seccomp/sys-fork/off",
+ g_test_add_func("/seccomp/sys-fork/off",
test_seccomp_sys_fork_off);
#endif
- g_test_add_func("/softmmu/seccomp/fork/on",
+ g_test_add_func("/seccomp/fork/on",
test_seccomp_fork_on);
- g_test_add_func("/softmmu/seccomp/fork/on-nospawn",
+ g_test_add_func("/seccomp/fork/on-nospawn",
test_seccomp_fork_on_nospawn);
- g_test_add_func("/softmmu/seccomp/fork/off",
+ g_test_add_func("/seccomp/fork/off",
test_seccomp_fork_off);
- g_test_add_func("/softmmu/seccomp/thread/on",
+ g_test_add_func("/seccomp/thread/on",
test_seccomp_thread_on);
- g_test_add_func("/softmmu/seccomp/thread/on-nospawn",
+ g_test_add_func("/seccomp/thread/on-nospawn",
test_seccomp_thread_on_nospawn);
- g_test_add_func("/softmmu/seccomp/thread/off",
+ g_test_add_func("/seccomp/thread/off",
test_seccomp_thread_off);
if (doit_sched() == 0) {
@@ -256,11 +256,11 @@ int main(int argc, char **argv)
* musl doesn't impl sched_setscheduler, hence
* we check above if it works first
*/
- g_test_add_func("/softmmu/seccomp/sched/on",
+ g_test_add_func("/seccomp/sched/on",
test_seccomp_sched_on);
- g_test_add_func("/softmmu/seccomp/sched/on-nores",
+ g_test_add_func("/seccomp/sched/on-nores",
test_seccomp_sched_on_nores);
- g_test_add_func("/softmmu/seccomp/sched/off",
+ g_test_add_func("/seccomp/sched/off",
test_seccomp_sched_off);
}
}
--
2.41.0
next prev parent reply other threads:[~2023-10-02 14:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-02 14:51 [PATCH 0/2] tests: Drop mentions of SoftMMU Philippe Mathieu-Daudé
2023-10-02 14:51 ` [PATCH 1/2] tests/vm/ubuntu.aarch64: Correct comment about TCG specific delay Philippe Mathieu-Daudé
2023-10-02 15:07 ` Alex Bennée
2023-10-02 14:51 ` Philippe Mathieu-Daudé [this message]
2023-10-03 13:55 ` [PATCH 0/2] tests: Drop mentions of SoftMMU Richard Henderson
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=20231002145104.52193-3-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).