Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3909160ybl; Mon, 13 Jan 2020 04:51:13 -0800 (PST) X-Google-Smtp-Source: APXvYqx9AJgnt6DweACvHpT9jgmwh45/Vo7SLAl83MBDs3S3UepoZOevzBf7rOZ//2RnA5yAEh+Y X-Received: by 2002:a05:6808:9b4:: with SMTP id e20mr11861435oig.37.1578919873762; Mon, 13 Jan 2020 04:51:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578919873; cv=none; d=google.com; s=arc-20160816; b=ye24RENYuos58e8pzUkVNln3UBj/Aq0sb+OHJ2bWK+OEZ8TcxHlx9zY1lpg9XS1yhL 6Ofck+fE4dbCuYwzRtbUecy9oDYY3w7XYLooammVhlmV2V/Ta7el3BgkwRiLQSJ7OTRe mwdkCTYwegT6+72sy4kQrOyZwuZPSLX9fjFBlIx+cO77XuQLq56hMmGiH+t+LjbCGLYZ nlrnK2CoI5EHx0QDU54kyD0v2+xyGVNX+95nC0t2sJcIjLnVETU6jlx0l/boClGcdZzj IySXOcx+E5EC/7qfI5L3JLzFQzVyr07l89o/fSV5so7duKSAtTOKOveR/pw22zY8Oc6C qm3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YXr6KGNrNv/zlk0Fypaa30IbqCLYnSEap0mMEY4ArjE=; b=E/CmnkXP10nPVszB/IgQibXdbjkiHtPBYz7MB1TPhVHa1Wf13rSSRbMJZfHSOO73mN PP6+h8ODwD4Cl9bhHaiHRrb3kJY9XQoesh6UFFj4WdyJucHWtByhgXTFucxZGFOvYoMg 4Dleb1Wp8X0JREECOWxnY8o79ebN25GMjKizyKy8C/EojhsmBim4Jfa5H/FiexEsrwu7 yZWKeKT3ioT1rAKXTpg0n29zyOsEnBJoXDgG6jIAS9MXFL72TEASVNVvoUIBNxU6rkWU DI7n7Ch5ieRHybuxR/lTA1d0tSIKuLuJ/sjxVNkjPjrT12wVFIuPD/PxpCJdSzt0k9Ux Lemg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h24si5263806oie.151.2020.01.13.04.51.02; Mon, 13 Jan 2020 04:51:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgAMMtM (ORCPT + 99 others); Mon, 13 Jan 2020 07:49:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:44084 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbgAMMtL (ORCPT ); Mon, 13 Jan 2020 07:49:11 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DCBFEAF84; Mon, 13 Jan 2020 12:49:09 +0000 (UTC) From: Miroslav Benes To: jpoimboe@redhat.com, jikos@kernel.org, pmladek@suse.com, joe.lawrence@redhat.com, shuah@kernel.org Cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Miroslav Benes Subject: [PATCH 1/2] selftests/livepatch: Replace set_dynamic_debug() with setup_config() in README Date: Mon, 13 Jan 2020 13:49:06 +0100 Message-Id: <20200113124907.11086-2-mbenes@suse.cz> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200113124907.11086-1-mbenes@suse.cz> References: <20200113124907.11086-1-mbenes@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 35c9e74cff4c ("selftests/livepatch: Make dynamic debug setup and restore generic") introduced setup_config() to set up the environment for each test. It superseded set_dynamic_debug(). README still mentions set_dynamic_debug(), so update it to setup_config() which should be used now in every test. Signed-off-by: Miroslav Benes --- tools/testing/selftests/livepatch/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/livepatch/README b/tools/testing/selftests/livepatch/README index b73cd0e2dd51..621d325425c2 100644 --- a/tools/testing/selftests/livepatch/README +++ b/tools/testing/selftests/livepatch/README @@ -35,7 +35,7 @@ Adding tests ------------ See the common functions.sh file for the existing collection of utility -functions, most importantly set_dynamic_debug() and check_result(). The +functions, most importantly setup_config() and check_result(). The latter function greps the kernel's ring buffer for "livepatch:" and "test_klp" strings, so tests be sure to include one of those strings for result comparison. Other utility functions include general module -- 2.24.1