Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp117787lqp; Mon, 10 Jun 2024 21:29:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWUjcHYrhYzQwNnvm1mdbE/i0vlc6jkYlcvFFOwqA0XXNe4jvwtE4OtnrDSlfTyDpxn4E4XZ3JF/ef5kbgWdP6Kf3nbLviCnfeFZ378w== X-Google-Smtp-Source: AGHT+IEILp8iaNUmGr4dfRxTxibiRXV4/ERwDklq9ieM6zQ1m+KrBc782PWpQ/LFgWKbidM9mAGr X-Received: by 2002:a05:6808:1882:b0:3d2:255f:8354 with SMTP id 5614622812f47-3d2255f84fcmr7064597b6e.32.1718080152209; Mon, 10 Jun 2024 21:29:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718080152; cv=pass; d=google.com; s=arc-20160816; b=LUjl19ffHTJ7kLPnslYTtrFe9vZV+27PhtLXK0YPpgeXUE1lVAQV3/s1Zqy/igvuzi WslI1HyrplSiPjSryGQ6dhZKN9WlJkTAhn/hmTWB1EA4vL1qpVebVoFA1XsHSK2+hHld Eo3YSFs9fglA9t2b6Yv4hnlrBQzY+qT927L5Pc83b99g79aSUgep16uGVn8YiOshr/o5 FM8FTYJnsvdquGNAvnstTmFBVc+dPRDeQUy1PsYBexUltkoFeD0BoFHzqHjCdFzv+ZE1 PNSeUtdNzXKf4N8m8y1FiVv0qYQiAOuK1dyA3wBaMHa2GnZ95eo8Q93gQtyBDqU5fFNL ksmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=5tkT2r/H8bywOCL29jQ9dOiEqES2E4TnDM1Uu+21t2c=; fh=5QN8urN486u2weeVkD9yi73Ak2qFtLc4Fmn+awBoz7U=; b=ZTU5wh4A322EvD8vYup6xjdXkYBz7zWCEraikVfeSx0tGhprPZZaekdj/MWYuxQNTb V7QZ/pfDhdOxzeRzRRe7+vG1AA0tsTveZAhPiyn5Q9NDrBM/Q2g8yAgH9yIy9Os3gooB 1+1QfQBfQqC/1vhyZ0EalRwDV/zFHwbrR+2I2WTrR0EGhJiJEjgz2wiec9Jtc9gJtv5W dkf8mX9S8ecb1hl/NG02XldD3afLmW4AKz/ha3w+opJi3AjsuyafTogK01eK0YM6rB5w QS0Fk6CieU697BMmm+fzLZC5U7ruSclPDbmTjs+CyT8V5xqUQioA12ANJ0w8IBsUVL/w FFlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LETOhCIo; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-209250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de27605fa5si5285620a12.474.2024.06.10.21.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 21:29:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LETOhCIo; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-209250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6D9A4B2190B for ; Tue, 11 Jun 2024 04:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 286AF17082B; Tue, 11 Jun 2024 04:27:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="LETOhCIo" Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0543B170821 for ; Tue, 11 Jun 2024 04:27:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718080072; cv=none; b=n1x8Deqv5NGHLwndxdZ5MekZD2jCFup51XzXmlH+RfLGGyfhfcXyHDvmiSmhYgQAtqiFCk1oONez6SAGGOxUnzkLOVnGh29lW8xgDIfhNfggMz8A6hEeFq4gCqOxyrBYPQlriF/3GgamBuXFrmXGPtFp637abc85LtIPVWcqc/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718080072; c=relaxed/simple; bh=R11Fz8CMWAdSmi2lcWYQk27qmS1GHLlt16YLGoG5YaY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=gM8Um648ZvZJ0Eys6htqRL7FDldyCaGiasUe2gKEF7heVpn1HuK8XXzEmdZLf94ubRrhtAmMZXVrbMdiVMhqnKNUY25WDU4NBww4W4bn1+70uUvSDvpepOXvoA+w1HWlS8faQcM+NMM0BqBqBZKMG/SFOvRZYcGgwAjBLJlst8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=LETOhCIo; arc=none smtp.client-ip=209.85.160.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-254aec5a084so1104181fac.3 for ; Mon, 10 Jun 2024 21:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1718080070; x=1718684870; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5tkT2r/H8bywOCL29jQ9dOiEqES2E4TnDM1Uu+21t2c=; b=LETOhCIoLtfI1D3itdfNcKXGqQZRgY0qeVa+hrjA5EEv2qVlHM/kf3qmROA+ImAYIl Six/SRUIcmT5RNUZrO8tHNriknG9K9eFzbZf69gkXa7Acg/Nd1n1tNmS9R6pUAz4+rGo qxKQwe0oSZvLJ3qwf/JNNybsl8xcNeLnYiHaU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718080070; x=1718684870; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5tkT2r/H8bywOCL29jQ9dOiEqES2E4TnDM1Uu+21t2c=; b=ayTEibXIcUKbflV4k3Uw1I7nYm71OAt3o2XmCGLIy/4WG0dLIt2eQphMuh2RNLxIR5 3WvWmzSKcgHnsMfN+MyUWGXG5OKyTYCJVDDrQLFCmlCbhZW9NRBUHQEa4M/mDGhXeROk xlZjQ8sBmMbUXn6x8tk/nD8Dd1dPsMzUJJwD+qvoK+2JTz6etkFrb7cFZMpAkk7/z6zY Q5cs0M9xUH1mIpDZIAP1SHPpSxWlsXJQcFn6hMCJfLPrMVhF+9+x8XBW6a7b2y6K5/h+ pqawR/8HIiGIX6aCgIoAoqSJmPEG7U2Ob8+nUf8GtIvzShA68gfHgadDQQ/wjtYV9ACg 3Aog== X-Forwarded-Encrypted: i=1; AJvYcCUPAlUZqCBlmUm8Kt81lMktKFN64GdJpOuBZHZ99Ff1qn79V1jFEX5PryN82nWkNqoLYWjQoAN3rwNsRIvZzwlJPy2VicBDSVlUb89w X-Gm-Message-State: AOJu0Yy3UEdvKP3YEBcFcEI2j4dh4mUlFnAv/HdGXWPF20bEeA05ZDif pkfslH1PrwV38S8YDYPtb09kSOzWQ6bG2o0IvcrdFZKqETcX5fBZNQdtUA8h5rpF40uMTcT+gsz nv9WHUdYbBo7RzSuG3LUqkfN3B7FfDDusClD3 X-Received: by 2002:a05:6871:729:b0:254:8a91:4b71 with SMTP id 586e51a60fabf-2548a916a59mr10122918fac.56.1718080069954; Mon, 10 Jun 2024 21:27:49 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240608021023.176027-1-jhubbard@nvidia.com> <20240608021023.176027-6-jhubbard@nvidia.com> In-Reply-To: <20240608021023.176027-6-jhubbard@nvidia.com> From: Jeff Xu Date: Mon, 10 Jun 2024 21:27:39 -0700 Message-ID: Subject: Re: [PATCH 5/5] selftests/mm: mseal, self_elf: rename TEST_END_CHECK to REPORT_TEST_PASS To: John Hubbard Cc: Andrew Morton , Shuah Khan , Andrei Vagin , Axel Rasmussen , Christian Brauner , David Hildenbrand , Kees Cook , Kent Overstreet , "Liam R . Howlett" , Muhammad Usama Anjum , Peter Xu , Rich Felker , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi On Fri, Jun 7, 2024 at 7:10=E2=80=AFPM John Hubbard w= rote: > > Now that the test macros are factored out into their final location, and > simplified, it's time to rename TEST_END_CHECK to something that > represents its new functionality: REPORT_TEST_PASS. > > Cc: Jeff Xu > Signed-off-by: John Hubbard Reviewed-by: Jeff Xu Tested-by: Jeff Xu > --- > tools/testing/selftests/mm/mseal_helpers.h | 2 +- > tools/testing/selftests/mm/mseal_test.c | 92 +++++++++++----------- > tools/testing/selftests/mm/seal_elf.c | 2 +- > 3 files changed, 48 insertions(+), 48 deletions(-) > > diff --git a/tools/testing/selftests/mm/mseal_helpers.h b/tools/testing/s= elftests/mm/mseal_helpers.h > index 8c3bf77dcf19..65ece62fdd0c 100644 > --- a/tools/testing/selftests/mm/mseal_helpers.h > +++ b/tools/testing/selftests/mm/mseal_helpers.h > @@ -22,7 +22,7 @@ > } \ > } while (0) > > -#define TEST_END_CHECK() ksft_test_result_pass("%s\n", __func__) > +#define REPORT_TEST_PASS() ksft_test_result_pass("%s\n", __func__) > > #ifndef PKEY_DISABLE_ACCESS > #define PKEY_DISABLE_ACCESS 0x1 > diff --git a/tools/testing/selftests/mm/mseal_test.c b/tools/testing/self= tests/mm/mseal_test.c > index a29935d82027..f8e1c59f298e 100644 > --- a/tools/testing/selftests/mm/mseal_test.c > +++ b/tools/testing/selftests/mm/mseal_test.c > @@ -240,7 +240,7 @@ static void test_seal_addseal(void) > ret =3D sys_mseal(ptr, size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_unmapped_start(void) > @@ -268,7 +268,7 @@ static void test_seal_unmapped_start(void) > ret =3D sys_mseal(ptr + 2 * page_size, 2 * page_size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_unmapped_middle(void) > @@ -300,7 +300,7 @@ static void test_seal_unmapped_middle(void) > ret =3D sys_mseal(ptr + 3 * page_size, page_size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_unmapped_end(void) > @@ -329,7 +329,7 @@ static void test_seal_unmapped_end(void) > ret =3D sys_mseal(ptr, 2 * page_size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_multiple_vmas(void) > @@ -360,7 +360,7 @@ static void test_seal_multiple_vmas(void) > ret =3D sys_mseal(ptr, size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_split_start(void) > @@ -385,7 +385,7 @@ static void test_seal_split_start(void) > ret =3D sys_mseal(ptr + page_size, 3 * page_size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_split_end(void) > @@ -410,7 +410,7 @@ static void test_seal_split_end(void) > ret =3D sys_mseal(ptr, 3 * page_size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_invalid_input(void) > @@ -445,7 +445,7 @@ static void test_seal_invalid_input(void) > ret =3D sys_mseal(ptr - page_size, 5 * page_size); > FAIL_TEST_IF_FALSE(ret < 0); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_zero_length(void) > @@ -469,7 +469,7 @@ static void test_seal_zero_length(void) > ret =3D sys_mprotect(ptr, size, PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_zero_address(void) > @@ -495,7 +495,7 @@ static void test_seal_zero_address(void) > ret =3D sys_mprotect(ptr, size, PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_twice(void) > @@ -515,7 +515,7 @@ static void test_seal_twice(void) > ret =3D sys_mseal(ptr, size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect(bool seal) > @@ -539,7 +539,7 @@ static void test_seal_mprotect(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_start_mprotect(bool seal) > @@ -569,7 +569,7 @@ static void test_seal_start_mprotect(bool seal) > PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_end_mprotect(bool seal) > @@ -599,7 +599,7 @@ static void test_seal_end_mprotect(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_unalign_len(bool seal) > @@ -628,7 +628,7 @@ static void test_seal_mprotect_unalign_len(bool seal) > PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_unalign_len_variant_2(bool seal) > @@ -656,7 +656,7 @@ static void test_seal_mprotect_unalign_len_variant_2(= bool seal) > PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_two_vma(bool seal) > @@ -691,7 +691,7 @@ static void test_seal_mprotect_two_vma(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_two_vma_with_split(bool seal) > @@ -738,7 +738,7 @@ static void test_seal_mprotect_two_vma_with_split(boo= l seal) > PROT_READ | PROT_WRITE); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_partial_mprotect(bool seal) > @@ -764,7 +764,7 @@ static void test_seal_mprotect_partial_mprotect(bool = seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_two_vma_with_gap(bool seal) > @@ -807,7 +807,7 @@ static void test_seal_mprotect_two_vma_with_gap(bool = seal) > ret =3D sys_mprotect(ptr + 3 * page_size, page_size, PROT_READ); > FAIL_TEST_IF_FALSE(ret =3D=3D 0); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_split(bool seal) > @@ -844,7 +844,7 @@ static void test_seal_mprotect_split(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mprotect_merge(bool seal) > @@ -878,7 +878,7 @@ static void test_seal_mprotect_merge(bool seal) > ret =3D sys_mprotect(ptr + 2 * page_size, 2 * page_size, PROT_REA= D); > FAIL_TEST_IF_FALSE(ret =3D=3D 0); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_munmap(bool seal) > @@ -903,7 +903,7 @@ static void test_seal_munmap(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > /* > @@ -943,7 +943,7 @@ static void test_seal_munmap_two_vma(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > /* > @@ -981,7 +981,7 @@ static void test_seal_munmap_vma_with_gap(bool seal) > ret =3D sys_munmap(ptr, size); > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_munmap_start_freed(bool seal) > @@ -1021,7 +1021,7 @@ static void test_munmap_start_freed(bool seal) > FAIL_TEST_IF_FALSE(size =3D=3D 0); > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_munmap_end_freed(bool seal) > @@ -1051,7 +1051,7 @@ static void test_munmap_end_freed(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_munmap_middle_freed(bool seal) > @@ -1095,7 +1095,7 @@ static void test_munmap_middle_freed(bool seal) > FAIL_TEST_IF_FALSE(size =3D=3D 0); > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_shrink(bool seal) > @@ -1124,7 +1124,7 @@ static void test_seal_mremap_shrink(bool seal) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_expand(bool seal) > @@ -1156,7 +1156,7 @@ static void test_seal_mremap_expand(bool seal) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_move(bool seal) > @@ -1189,7 +1189,7 @@ static void test_seal_mremap_move(bool seal) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mmap_overwrite_prot(bool seal) > @@ -1217,7 +1217,7 @@ static void test_seal_mmap_overwrite_prot(bool seal= ) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D ptr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mmap_expand(bool seal) > @@ -1248,7 +1248,7 @@ static void test_seal_mmap_expand(bool seal) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D ptr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mmap_shrink(bool seal) > @@ -1276,7 +1276,7 @@ static void test_seal_mmap_shrink(bool seal) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D ptr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_shrink_fixed(bool seal) > @@ -1307,7 +1307,7 @@ static void test_seal_mremap_shrink_fixed(bool seal= ) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D newAddr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_expand_fixed(bool seal) > @@ -1338,7 +1338,7 @@ static void test_seal_mremap_expand_fixed(bool seal= ) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D newAddr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_move_fixed(bool seal) > @@ -1368,7 +1368,7 @@ static void test_seal_mremap_move_fixed(bool seal) > } else > FAIL_TEST_IF_FALSE(ret2 =3D=3D newAddr); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_move_fixed_zero(bool seal) > @@ -1400,7 +1400,7 @@ static void test_seal_mremap_move_fixed_zero(bool s= eal) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_move_dontunmap(bool seal) > @@ -1429,7 +1429,7 @@ static void test_seal_mremap_move_dontunmap(bool se= al) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_mremap_move_dontunmap_anyaddr(bool seal) > @@ -1463,7 +1463,7 @@ static void test_seal_mremap_move_dontunmap_anyaddr= (bool seal) > > } > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > > @@ -1556,7 +1556,7 @@ static void test_seal_merge_and_split(void) > FAIL_TEST_IF_FALSE(size =3D=3D 22 * page_size); > FAIL_TEST_IF_FALSE(prot =3D=3D 0x4); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_discard_ro_anon_on_rw(bool seal) > @@ -1585,7 +1585,7 @@ static void test_seal_discard_ro_anon_on_rw(bool se= al) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_discard_ro_anon_on_pkey(bool seal) > @@ -1632,7 +1632,7 @@ static void test_seal_discard_ro_anon_on_pkey(bool = seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_discard_ro_anon_on_filebacked(bool seal) > @@ -1669,7 +1669,7 @@ static void test_seal_discard_ro_anon_on_filebacked= (bool seal) > FAIL_TEST_IF_FALSE(!ret); > close(fd); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_discard_ro_anon_on_shared(bool seal) > @@ -1698,7 +1698,7 @@ static void test_seal_discard_ro_anon_on_shared(boo= l seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > static void test_seal_discard_ro_anon(bool seal) > @@ -1728,7 +1728,7 @@ static void test_seal_discard_ro_anon(bool seal) > else > FAIL_TEST_IF_FALSE(!ret); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > int main(int argc, char **argv) > diff --git a/tools/testing/selftests/mm/seal_elf.c b/tools/testing/selfte= sts/mm/seal_elf.c > index 0fd129259647..131fc13cd422 100644 > --- a/tools/testing/selftests/mm/seal_elf.c > +++ b/tools/testing/selftests/mm/seal_elf.c > @@ -127,7 +127,7 @@ static void test_seal_elf(void) > FAIL_TEST_IF_FALSE(ret < 0); > ksft_print_msg("somestr is sealed, mprotect is rejected\n"); > > - TEST_END_CHECK(); > + REPORT_TEST_PASS(); > } > > int main(int argc, char **argv) > -- > 2.45.2 >