Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp548632pxb; Tue, 19 Oct 2021 08:11:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc7cH2AcgCaYW/QkgXUSxJTO+TKHe3O5BoczhYTOb9uh+YSmN1Ul8BApZNO1xcLH5kl3+V X-Received: by 2002:a05:6a00:887:b0:44b:dee9:b7b1 with SMTP id q7-20020a056a00088700b0044bdee9b7b1mr451448pfj.84.1634656285900; Tue, 19 Oct 2021 08:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634656285; cv=none; d=google.com; s=arc-20160816; b=PbgVisiXT/8xcBz+1ylFhcTaRWj05P8eqahsEy7JcjoT8XoANqNgjD91/pXVErBZ+4 GhCU/00TffCQ1tLb4za+wxsXmou6wUF3Znj2lUQqjG//q+AVRBBFn6YXSHDQTYQj0eeP AwK+i4pxGrz0AVfbk2X4x29rsZgi2EA9LodMIF+mI0IuqtGJHg8EkAfIJlkCru3q5onK +x2kCyOX5qsqXI3sD6MduAIRaE9VXr+33FoNnd30SEld4ITo7MdiPFKaoj3QqWsij3O6 jtYJdeHhEqiO9pvCbkCixiaBOFbaEPfbICgNdPzCURHzGUCWmcuZc8T/AJIwNUnVnmaX DgFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=QaUnTljAjoz0+0fY3oTmz5lL+4aCy5f7/n8NgShQHQI=; b=Fdo6CGJB1uz9h7PmjCwPL8h03nvLXM33SXVREekBKYx7hKDCIhpyRDiEyuWbKb1b4S To4ODOKnZF7fAM6Xb7x6xfP3Z51kCDGRScCdAvmtncf616NiOVTvIhzDFbWp2WdOD85N 9D+J0cK5xbQ+gcUfPvrWDTz6VcftyqCSm/yiP7/ZAD8AdIODoMAANBwewWx3TIE/ZyVf GgrzpT/dJIRaE+PoYIhtcgqAGoWkW4uwLsPlo6+EH4lU/V+rCCK5iueoc0Hk+ieJqKC/ k/vcnBJUAs6dyI4m6+9gdxjX3alMZKHSSC0Bz21TDGxrYOd5GSQJVEMsvLlgWridE7mL ePWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F0Kk7vAb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz24si3783074pjb.132.2021.10.19.08.11.12; Tue, 19 Oct 2021 08:11:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F0Kk7vAb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234307AbhJSPKa (ORCPT + 99 others); Tue, 19 Oct 2021 11:10:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:58148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233940AbhJSPKT (ORCPT ); Tue, 19 Oct 2021 11:10:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A5DB36138D; Tue, 19 Oct 2021 15:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634656087; bh=9wR2yQTF4duC2O5BurjkFj5qJNjplT/+cPtJMjRRLTY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F0Kk7vAbkCZ9UIHP6tqf99Ebh5GfDaM3uP6AZrgIr9/PcNenfFuRlcCRkLazJt9MD nKcPl4ofcuMRqGGxZ0wP0Q/aFnMaPG6mJ1Abp51PpYegkHRHJmxUx0fMW5Nllj1KiV QuTlhtQS/kYoGoFTHpC82efRFz8fYJ4sCj0d62ygTHpNDXeXSO/NI1Im5lYObfmerX +zkJZ1WtmAa5yG9JJL3EG9r6X4szyPE/zC7dZTW/Hwd2KT77jQCSjKIkxJxFqBmLls JQfFFP5aToV3xKGU23d3n1hN8K8aHD7m2/nT3nP2KDG57SAfzCwSht0aV1ArR6tbTq PBOQHm52FrYPA== From: SeongJae Park To: akpm@linux-foundation.org Cc: SeongJae Park , Jonathan.Cameron@Huawei.com, amit@kernel.org, benh@kernel.crashing.org, corbet@lwn.net, david@redhat.com, dwmw@amazon.com, elver@google.com, foersleo@amazon.de, gthelen@google.com, markubo@amazon.de, rientjes@google.com, shakeelb@google.com, shuah@kernel.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/15] tools/selftests/damon: Update for regions prioritization of schemes Date: Tue, 19 Oct 2021 15:07:26 +0000 Message-Id: <20211019150731.16699-11-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211019150731.16699-1-sj@kernel.org> References: <20211019150731.16699-1-sj@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit updates the DAMON selftests for 'schemes' debugfs file, as the file format is updated. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/debugfs_attrs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh index 8e33a7b584e7..466dbeb37e31 100755 --- a/tools/testing/selftests/damon/debugfs_attrs.sh +++ b/tools/testing/selftests/damon/debugfs_attrs.sh @@ -63,10 +63,10 @@ echo "$orig_content" > "$file" file="$DBGFS/schemes" orig_content=$(cat "$file") -test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0" \ +test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3" \ "$orig_content" "valid input" test_write_fail "$file" "1 2 -3 4 5 6 3 0 0 0" "$orig_content" "multi lines" +3 4 5 6 3 0 0 0 1 2 3" "$orig_content" "multi lines" test_write_succ "$file" "" "$orig_content" "disabling" echo "$orig_content" > "$file" -- 2.17.1