Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp547869pxb; Tue, 19 Oct 2021 08:10:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxq81RdPiGGIAsdCgjgpq8N6c5muRDrJEYFS2UShilAyqbV5C14X9WFi03OduCPR5jk31rT X-Received: by 2002:a17:90b:e07:: with SMTP id ge7mr509105pjb.75.1634656236173; Tue, 19 Oct 2021 08:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634656236; cv=none; d=google.com; s=arc-20160816; b=XhVavAT/GOro2xEbKaHlSFwWkj/+lNcSa7qCUjhF0vSvqKFKNNzIxhPhf6OhNm5Iru GyW7ukX/4Mur9nEAneT6v/tiTUzbupdKr8SvQah8yhZNtLXXAiQkyf3haO9xJdw9o4tE asxj891ah2jR/9ESnrMHHnUJLEidUat39KH8GGzMAlkBks8/g0vzvdvwvqpOdYxgOVNI iusJUFmrJGKoKiOI9by3uGw0F8B32CQtCs9hy5K/ntrqojitKCNhE1R8ZHcqkMjNPOdB /zfkh/glxffztzFC5dZNgkUSTZKKQ4VqOPPyeSvCaehrOceFI0RIGrEHTyE3bzP9b40P Cnyw== 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=KWKxJ59XyX9UKyVX1H7UC9sM2Ll56TMB0enVk0TwGYU=; b=ok2zxJ9tvH40mvyWtEHKk29f/zSzBlN0IeHOchigGFFe1xDfIG/dj6uIcF48ObeD4G eaN0m2R1bS+pN9XOFUiC0TnezTUmAw+eLLxG/vFeZ7HHJ3xaanLic6afCtPI7qAj6Wya Nf8HSHrA/tSvlIoi62tsalOKYmrfPgrddiFneCqtJnJyR1L+j8S1pwmycx7ZxPQvWwaM cXRNwKLWrk8PPjODARAFG4I3+S9ibehv8L8k2jAWBsNJm29AdOPHpukD+CpOo4tOiJoY Udc49QswEvOwC3gxhgTfWgQQk80tQ5lFcylFeHdyCmbdWf6JH82CoVbvVCG84fIDS2jT 0eag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T+72k1Ul; 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 u3si24997000plq.96.2021.10.19.08.10.23; Tue, 19 Oct 2021 08:10:36 -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=T+72k1Ul; 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 S234447AbhJSPKx (ORCPT + 99 others); Tue, 19 Oct 2021 11:10:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:58542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234185AbhJSPKZ (ORCPT ); Tue, 19 Oct 2021 11:10:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C228D6137D; Tue, 19 Oct 2021 15:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634656092; bh=6Ey2yQL8vp45TglKXfKMfCMTfAI/Z6m/vrgKMF/aoKQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T+72k1Ul51sB0eB7OvCjH62yRwI7JwQOcFn7OOmzX5ZWoB2MopwQs/sX9NGzFP89y 8ScpcD5g+OrE65AoETrkyNxxBHiyKEfNUy1YcoyqueDauFvifpX7WcseNUUEn1n8XY 9oktHlGLzx36XySWvNB7bOmvQ9ROQc2jpEhxs8ekXwCUFTdVSCOufPuhmZNQOy/umf 4OE04ETjPMj42H9EvKq8XA8wUYAaKqVLFDwO6Xi2jRge/BPeqQlIJXPfmY9U+1TOp1 S5mdPgrKtriiKfuomsRUPlN0GGagVvpWu0GOUGbW80dJ7RQRqp3Sd5R7KSnJR9bGun YBa3Z4PtGIx2A== 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 13/15] selftests/damon: Support watermarks Date: Tue, 19 Oct 2021 15:07:29 +0000 Message-Id: <20211019150731.16699-14-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 DAMON selftests for 'schemes' debugfs file to reflect the changes in the format. 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 466dbeb37e31..196b6640bf37 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 1 2 3" \ +test_write_succ "$file" "1 2 3 4 5 6 4 0 0 0 1 2 3 1 100 3 2 1" \ "$orig_content" "valid input" test_write_fail "$file" "1 2 -3 4 5 6 3 0 0 0 1 2 3" "$orig_content" "multi lines" +3 4 5 6 3 0 0 0 1 2 3 1 100 3 2 1" "$orig_content" "multi lines" test_write_succ "$file" "" "$orig_content" "disabling" echo "$orig_content" > "$file" -- 2.17.1