From patchwork Mon Oct 2 14:51:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 728557 Delivered-To: patch@linaro.org Received: by 2002:a5d:60c8:0:b0:31d:da82:a3b4 with SMTP id x8csp1701430wrt; Mon, 2 Oct 2023 07:52:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3liwiPo0rqlZdIm1yWiV2Fag5OlUsHZAnOXEAm1DBxg3rI2GTgXhCl7HXjeXfvv1JznuG X-Received: by 2002:a05:620a:1706:b0:767:ff8e:74ff with SMTP id az6-20020a05620a170600b00767ff8e74ffmr13610570qkb.25.1696258329750; Mon, 02 Oct 2023 07:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696258329; cv=none; d=google.com; s=arc-20160816; b=lQkFncoIwAefWJgrJBPpAIkPda6nTG6P6GcmWLpOo/xEFTlBGgWwj3U+3L8AmwkTvf riuPY69Co3FYictoPMkAd0Ub+S0Dw6wA8V9hTI9HDu42prhDQhfoW8/avk8Jy4Qy0GVA UyGyaoF3MzmhyvVcCw6aIFTKaTtbzY/oLErgDaTymYbah7Eu+2hSBwJn7jKK00gDz6E0 BoePDPE5BUOK8L/6+HU6bofoJ97NuuRAvhR9gTK0E7RRvUYP4C4aeuALdvRfUQJN7lMI iiwKZb5UTudRH2ucchIoahbVFSPtt9mvZTiEUYStlDzNrE6npfJFJhtpEqGgrkfi1dUj PuzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8S39qzZ9AC0fGmB7PeI+z6F8myTw3Ni1jGr5MISvYF4=; fh=uOomc8tJhBau0+Ad5DBM3taPaIDTvvIGNsFRDg5vV0A=; b=WJnGK57zyy3TpIdfVCVD620nFQlzQ0gXWbmFIcRITmlUvnc7oR5H8bswSy786gtVoG DsCYSzG/P4uLQWLY5Q9qdMkOATgWZumfdCF8xfKAU3L8H4GUWN44hJ7QlpwjuHaA+1nf ue6Gabd9LNvJy/Us5vb1EZZbpoESTZRUaX8flstwu1dCaqa2GC25z3GjDWCliJMAGNu4 UvQLsUfaOeB85bQwss935qkM26Hdp8eWx6EFzH5mHLFe5Cv50V/dlVRJLcJe8j38F0C2 /0cQZbC+EYGa3rolMMroLFSlnk6ynJ/OB+YvH9LA7gO8H8d2705NHVGhAk6Z+Fxm5b0f dVIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CG830PvX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id dt17-20020a05620a479100b007741b0f3fd8si10420643qkb.283.2023.10.02.07.52.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2023 07:52:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CG830PvX; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnKGa-0004hq-2K; Mon, 02 Oct 2023 10:51:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnKGY-0004fr-U1 for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:22 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnKGX-0002j7-9k for qemu-devel@nongnu.org; Mon, 02 Oct 2023 10:51:22 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-32799639a2aso1777265f8f.3 for ; Mon, 02 Oct 2023 07:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696258278; x=1696863078; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8S39qzZ9AC0fGmB7PeI+z6F8myTw3Ni1jGr5MISvYF4=; b=CG830PvXx7eBclj7HJcXkhwRvidsQo8OGm0jlg5rvqLE7wWraSr6CGZ9GBcMKnEvZW AKqv2+DCMxoJoAaxiOw3wt0LG/v7beyvQ4aYj9tvkMU72Em68ImYGMiV1yx9ppZ9O9hs tY85nGNHaJiCOxU0l+mC84InajqJQ7z9wFwKjTPPG8kp5PG3Nov/8M+DltYT/8tDEFZA /KkNkNhde8e5Zd0JNHo9x8VU4aMEIUfU3aM8XEVXXfH1RM+36vznunmckhjDPRixVrd4 EEG7qB/NSt1fG67ho5SBP/uQeQE+r6iiWEzQPQGZznyPdcczFb8z3AOKAI64jqCQsAwL XSZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696258278; x=1696863078; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8S39qzZ9AC0fGmB7PeI+z6F8myTw3Ni1jGr5MISvYF4=; b=VOA/eBYC2NnoIs12sAPEZKaeE9n+8qRwdW3HgTA2pBFi3odvGqc/LfHB25Q821zr7R DuBZqvtegqeOcEfYyRgnxnmwF8MnFXirZzYJAtl/WbWmr+hv1ffkXxVtx6sSLlOKc2sj 6JuypTmm5XLY9w0fzZFJs4nxcdhq13gPtQ/8zyNJZxjpW6hlSzIHAH0bOuDVOsUumxsz nZ/dZWQaCWshS06XEy9W6GaWNymMe5Z0c7T0V4/Ny3KqcJAHKQ+Z9mFKpsr6LNozZeZc kNjVTeeVZ2lpUgclB1nFrGpqYDvU68O3xYEVskynKakuWM7XIhSFfuaizcYhK8W7UQ9F 2ByA== X-Gm-Message-State: AOJu0YxWiiolmTQTqKrSpC1y43WH6Xi4je7hxgxbbxB2Y3peArM/1+Tx Gu8WyojK7h1a6SSidwWRvuiCv1RSBemjmE5aA+QtMQ== X-Received: by 2002:adf:fe42:0:b0:317:5747:b955 with SMTP id m2-20020adffe42000000b003175747b955mr10109226wrs.17.1696258278351; Mon, 02 Oct 2023 07:51:18 -0700 (PDT) Received: from m1x-phil.lan (sto93-h06-176-172-7-203.dsl.sta.abo.bbox.fr. [176.172.7.203]) by smtp.gmail.com with ESMTPSA id d29-20020adfa41d000000b003197869bcd7sm23226580wra.13.2023.10.02.07.51.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 02 Oct 2023 07:51:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , =?utf-8?q?Daniel_P=2E_Be?= =?utf-8?q?rrang=C3=A9?= Subject: [PATCH 2/2] tests/unit/test-seccomp: Remove mentions of softmmu in test names Date: Mon, 2 Oct 2023 16:51:04 +0200 Message-ID: <20231002145104.52193-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231002145104.52193-1-philmd@linaro.org> References: <20231002145104.52193-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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é --- 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); } }