From patchwork Mon Nov 6 11:02:36 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: 741318 Delivered-To: patch@linaro.org Received: by 2002:adf:fd90:0:b0:32d:baff:b0ca with SMTP id d16csp1022856wrr; Mon, 6 Nov 2023 03:07:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFivWi+HBCGt/LCMaNCCBZ+UeDPzaIiAlQkmi04OIOheRSIv0rW5OkTCGLnEKoLV7/0hp2/ X-Received: by 2002:a05:620a:1084:b0:775:cf5f:8a57 with SMTP id g4-20020a05620a108400b00775cf5f8a57mr29655706qkk.7.1699268843177; Mon, 06 Nov 2023 03:07:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699268843; cv=none; d=google.com; s=arc-20160816; b=w80wPWTk5yGrsd+lMuA0+iTgxKMUiIbdKEoX1kbwqzaayGaV+/q48wDWW00qZSGVLY nyUXpZF5tv8ZzWElJtSfeS541840EPCAl3u5MozqZ1hpYnMX4dttAkDlDgMbmZSO+McH UxFyM1ukfU5qmlM/ORGi1d0efDNZxOwTrTJcB+vBwcmIXmx+kUR+DfFIGk1R2tLbWRV9 EYauJ+f/+AgbGOcSoBhD+vrw9FYhu0exnpV5N2HXmHMVZn+jWObClIqt9YYg+JKBw9vO j+IiRw5Xqr1M6xVIK1FYxcmjmeJNZzPPvGeIV8gPS/hZsGNRC3/lGywLwboI+ySBhkob bKeg== 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=th3yfEu9dsqZLmfk3I95d9IkQeEp24N2k4ODPshVYkY=; fh=MxQbjwEdFwlPHdTHbnth+HR++MIzjIZTbqQwuZPTx7c=; b=WNoLVaOrtqPFnS6gNbAfhrw37Fp3ESykzBvmOe7lIfxvDi1PfRlW9R//rqan+13qJ5 gUp+6RbQvQ1q/kZIJRpUrDp6gGxQcZLnKBvK/9F78VRfLiiXJklN+NDzKtJakwHO3O49 VbTG+PxjM10J16KEkLfA0MHvtdIMF0BS0sT14x9H5lLIBaLITEidz10BMJWKR9rw78qH KOWdjMt4x67ehdaxXHnznyZhwFCva8Epxpygo7cTAjyga5Nre4DwStPqiq5lywy2r0vk cSKwRcmPD/BuAB5Fm7i7LZnDGK79hpqp9Cs9ekPFHT97qKub6+raQVpyv+cgZmNl+jZv xw1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C3qkbzKH; 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 q3-20020a05620a024300b007789a38928asi5109431qkn.612.2023.11.06.03.07.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2023 03:07:23 -0800 (PST) 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=C3qkbzKH; 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 1qzxPF-0006aL-SS; Mon, 06 Nov 2023 06:04:33 -0500 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 1qzxP5-0006Ir-IW for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:04:27 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzxOs-0003if-Dj for qemu-devel@nongnu.org; Mon, 06 Nov 2023 06:04:19 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32da9ef390fso2661117f8f.2 for ; Mon, 06 Nov 2023 03:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268647; x=1699873447; 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=th3yfEu9dsqZLmfk3I95d9IkQeEp24N2k4ODPshVYkY=; b=C3qkbzKHqKUp/q4CUgwwYnzNK8GmiuJJTQTYaoQ39Nk3RCg/Y4jsM7Bx3MjCxMZhx8 /caCjzgDW403J9uBXQXQOzBgKpt0PWTLxmZydvhNSBglbdlZ85S/h73ZO6unbJcC4qYL jKopi56eaxG2EORedykf5TVdzGeHILjSCz/X1MKkCcp1yuXX2+lMe8Uofw3zEXFf2BvA fyeq0vuq6637lm59BRlhfeobpX6/V/oS5UCSFGHS8LaZ8Olv+swqDNNiUrEebmchQkiH 73YGL8x6peeAYPpmTp93T9bdaEiiVO+AeYXejDrJn5a5Xjou9V1oOjEf9RJLw1E7Qbsv qOPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268647; x=1699873447; 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=th3yfEu9dsqZLmfk3I95d9IkQeEp24N2k4ODPshVYkY=; b=Tx+sRlLkKV5KZLkZdtK3DUlKZq4c2FoQA4ddaLdI6rynJvJLWtApWhOL+0XGv+NLWZ 0UEmbyYbgrcsUKn7GGBFutCO73iE61Yfyk5ZT2CYZvW3kqvlgu+RqSCdCHNkfsjwcbEv zVoMWBb0UfWVjKn8gl/SgqjpPZ6DWripk4GOR4tKsxlE4vAe07722ou3iWQfFACo47+X QUuqxwN9u0f5wBbh0YJJ2PxpRWbnut39DP++LhKBKEf8cDIAUtn2JTRg6n8EBHOSSpvb ksT79hvB1e4xpDAplebj7dlJDTNubVka4JY+lCsarDaE6eQWThLSbxr01sX6051t4dJn REKw== X-Gm-Message-State: AOJu0YxddJNF8MMcSMW4JMl8QoJ6OuB1LiEejfegpYR/kXDl5X4n+1zJ w/11aP5KVDhDL+uh8e/RZw06b+pc7D4VUnE0dmE= X-Received: by 2002:adf:fd82:0:b0:32d:9a87:b7a with SMTP id d2-20020adffd82000000b0032d9a870b7amr17402964wrr.50.1699268646998; Mon, 06 Nov 2023 03:04:06 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id k13-20020a5d6e8d000000b003196b1bb528sm9094731wrz.64.2023.11.06.03.04.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:04:06 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , =?utf-8?q?Daniel_P=2E_Ber?= =?utf-8?q?rang=C3=A9?= Subject: [PULL 04/60] tests/unit/test-seccomp: Remove mentions of softmmu in test names Date: Mon, 6 Nov 2023 12:02:36 +0100 Message-ID: <20231106110336.358-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=unavailable 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é Reviewed-by: Richard Henderson Message-Id: <20231002145104.52193-3-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); } }