From patchwork Sat May 21 08:38:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: patrick wang X-Patchwork-Id: 12857747 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5632C433F5 for ; Sat, 21 May 2022 08:39:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4A61B6B0075; Sat, 21 May 2022 04:39:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 455846B0078; Sat, 21 May 2022 04:39:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 31DBA6B007B; Sat, 21 May 2022 04:39:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2493D6B0075 for ; Sat, 21 May 2022 04:39:02 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id ED3AB32691 for ; Sat, 21 May 2022 08:39:01 +0000 (UTC) X-FDA: 79489100082.02.DB4BE39 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by imf04.hostedemail.com (Postfix) with ESMTP id 4B9AF40019 for ; Sat, 21 May 2022 08:38:47 +0000 (UTC) Received: by mail-pj1-f54.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso9625336pjg.0 for ; Sat, 21 May 2022 01:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tKgtsXuVOi1QNn+QUr5+/f8fxa0uMqPOrJbyR3xVqo0=; b=PcvLX+AA42K/25xPIdhOA63RFpR1f19sOBPb+tpMTk/vYfdDylBmA3zvj1V8AfdyJM yH2L6Ycg8fzsqKZYGZy3W1WmmJyUvjUreM2B7YgteISXqtRn33ZkiYs7IAogmCJsZX68 vKn3m2gVPb81kEZi54ovkwYjYA1Dqfoy4GIOi8hlBGkcjvrsp7/djrqCsTMRmeXRV8ib k7DEreDnAjqZiZgG+sgYXs3Z/cbW+JA+85GdcAIIwpbCGbnPg7yE5tG336p8tBl2/4/T AP3S6juCJNIPRar4Ag5g7t1kKZUKUEciK8Lq6ffCOz0WzQm9ErbrYVdjrF2FnKLwhzMv YY+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tKgtsXuVOi1QNn+QUr5+/f8fxa0uMqPOrJbyR3xVqo0=; b=laiFblSeiAXVUnH7MeqnYfDR5TwnkDZ2ywYVTbr/eXQ3FQh6+oyfzwbKaVJiZ2FNaW 5VgpwOFNzmLPhNW86QevRmRNU6MJO+RaJrBs7GvLoY9fIwn7L1SHGqRooEfXJPjDIXJw GVHdbCG0HEtmQLGrWrUb81jO6sBXuvVcfqrlebBADkkpIu7lstw7Ma93BmUU7b3jVEch u3ZqyGQ11+Jws87b5PCJMeGwfEeJnLsazGUtChGVMuR6nlXN++tzly9rsyGnqRNVDmc4 SVW9ghzuNw1yuCRQb1HBs4QH0ux9KWTv2aOipDLAKaPnCwXMMw12iJ+1X5zpjL1Cmiw8 5bVg== X-Gm-Message-State: AOAM532N+rwhG5HhOQHVwRzGydNcFb1dKBCbqPFIt1YA79EuXPKJwo0n WqDQhOx0jlJRHWgwrg15Oyg= X-Google-Smtp-Source: ABdhPJzW5Zypglg3GnAusYqT8bGachbUQvrGnVuNFpQOSI9vw8LS83RB6jAV5DSZjw2EJNt+HsBD2Q== X-Received: by 2002:a17:90a:ec01:b0:1df:56aa:6b7b with SMTP id l1-20020a17090aec0100b001df56aa6b7bmr15213129pjy.230.1653122340763; Sat, 21 May 2022 01:39:00 -0700 (PDT) Received: from localhost ([101.86.206.159]) by smtp.gmail.com with ESMTPSA id j13-20020a170902da8d00b0015e8d4eb260sm1031755plx.170.2022.05.21.01.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 01:39:00 -0700 (PDT) From: Patrick Wang To: akpm@linux-foundation.org, shuah@kernel.org Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, patrick.wang.shcn@gmail.com Subject: [PATCH 3/3] selftests: vm: add the "settings" file with timeout variable Date: Sat, 21 May 2022 16:38:25 +0800 Message-Id: <20220521083825.319654-4-patrick.wang.shcn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220521083825.319654-1-patrick.wang.shcn@gmail.com> References: <20220521083825.319654-1-patrick.wang.shcn@gmail.com> MIME-Version: 1.0 X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 4B9AF40019 X-Stat-Signature: k1m59q5h4jdpc3ekbojmo9p6oejcg5zm X-Rspam-User: Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PcvLX+AA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf04.hostedemail.com: domain of patrick.wang.shcn@gmail.com designates 209.85.216.54 as permitted sender) smtp.mailfrom=patrick.wang.shcn@gmail.com X-HE-Tag: 1653122327-50246 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000827, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: The default "timeout" for one kselftest is 45 seconds, while some cases in run_vmtests.sh require more time. This will cause testing timeout like: not ok 4 selftests: vm: run_vmtests.sh # TIMEOUT 45 seconds Therefore, add the "settings" file with timeout variable so users can set the "timeout" value. Signed-off-by: Patrick Wang --- tools/testing/selftests/vm/settings | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/vm/settings diff --git a/tools/testing/selftests/vm/settings b/tools/testing/selftests/vm/settings new file mode 100644 index 000000000000..9abfc60e9e6f --- /dev/null +++ b/tools/testing/selftests/vm/settings @@ -0,0 +1 @@ +timeout=45