From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B52B2C433F5 for ; Wed, 20 Apr 2022 22:08:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356684AbiDTWLm (ORCPT ); Wed, 20 Apr 2022 18:11:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241241AbiDTWLj (ORCPT ); Wed, 20 Apr 2022 18:11:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 283131902E for ; Wed, 20 Apr 2022 15:08:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B65DC619CB for ; Wed, 20 Apr 2022 22:08:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17333C385A0; Wed, 20 Apr 2022 22:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1650492531; bh=Vo6BySIrPJ/86vNnrJDj87o7vd6KuO3NxSvCPszN4ys=; h=Date:To:From:Subject:From; b=y8g4km6MgJrq6uDP5+XMkl42FA6/ZUzXaQAxqTlvplTIGbfXZQeSbV9qKMK7oTns2 1hj5oEvAOmmEB1KNw9h2EYQjUacqrs8l1vEiKGyKeawmPIo9Qfk/XykSP5wITDmFvG qEt2sapL72nIcdAPMBe/qWSVzfdeIRalJZ9A3drg= Date: Wed, 20 Apr 2022 15:08:50 -0700 To: mm-commits@vger.kernel.org, skhan@linuxfoundation.org, sidhartha.kumar@oracle.com, akpm@linux-foundation.org From: Andrew Morton Subject: + selftest-vm-add-skip-support-to-mremap_test.patch added to -mm tree Message-Id: <20220420220851.17333C385A0@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: selftest/vm: add skip support to mremap_test has been added to the -mm tree. Its filename is selftest-vm-add-skip-support-to-mremap_test.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/selftest-vm-add-skip-support-to-mremap_test.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/selftest-vm-add-skip-support-to-mremap_test.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Sidhartha Kumar Subject: selftest/vm: add skip support to mremap_test Allow the mremap test to be skipped due to errors such as failing to parse the mmap_min_addr sysctl. Link: https://lkml.kernel.org/r/20220420215721.4868-4-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar Reviewed-by: Shuah Khan Signed-off-by: Andrew Morton --- tools/testing/selftests/vm/run_vmtests.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) --- a/tools/testing/selftests/vm/run_vmtests.sh~selftest-vm-add-skip-support-to-mremap_test +++ a/tools/testing/selftests/vm/run_vmtests.sh @@ -291,11 +291,16 @@ echo "-------------------" echo "running mremap_test" echo "-------------------" ./mremap_test -if [ $? -ne 0 ]; then +ret_val=$? + +if [ $ret_val -eq 0 ]; then + echo "[PASS]" +elif [ $ret_val -eq $ksft_skip ]; then + echo "[SKIP]" + exitcode=$ksft_skip +else echo "[FAIL]" exitcode=1 -else - echo "[PASS]" fi echo "-----------------" _ Patches currently in -mm which might be from sidhartha.kumar@oracle.com are selftest-vm-verify-mmap-addr-in-mremap_test.patch selftest-vm-verify-remap-destination-address-in-mremap_test.patch selftest-vm-support-xfail-in-mremap_test.patch selftest-vm-add-skip-support-to-mremap_test.patch selftest-vm-clarify-error-statement-in-gup_test.patch