From patchwork Thu Jun 18 18:10:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Lawrence X-Patchwork-Id: 208370 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 418E9C433E0 for ; Thu, 18 Jun 2020 18:11:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 139392083B for ; Thu, 18 Jun 2020 18:11:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UB/8n19g" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730023AbgFRSLB (ORCPT ); Thu, 18 Jun 2020 14:11:01 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:35671 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729997AbgFRSLA (ORCPT ); Thu, 18 Jun 2020 14:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592503857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZZWlQ5y7Pb1QamFT51VCVsggHmDjllVGDgfPdvXE2UE=; b=UB/8n19gjsMzIb74KfjZs2ICURRE0mweP9nkXc9PXgIwbItxmYBWB6o4+B+ZsL1NUW6rto SC3V6/TDtZou9Zhs7j4XgLGo/x+349l2R1IYZdswWQWaxIVi/rIJpGh9E9GSLwkqVJO8h3 7x7ui1RzJozPOmxnaELB0gf3yY31PHM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-265-GJu4NKrCMYixIcj9daZjdQ-1; Thu, 18 Jun 2020 14:10:55 -0400 X-MC-Unique: GJu4NKrCMYixIcj9daZjdQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7E104835B5D; Thu, 18 Jun 2020 18:10:54 +0000 (UTC) Received: from jlaw-desktop.redhat.com (ovpn-112-56.rdu2.redhat.com [10.10.112.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id D0E1E1E2261; Thu, 18 Jun 2020 18:10:53 +0000 (UTC) From: Joe Lawrence To: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: Kamalesh Babulal , Miroslav Benes , Petr Mladek , Yannick Cote Subject: [PATCH v3 3/3] selftests/livepatch: add test delimiter to dmesg Date: Thu, 18 Jun 2020 14:10:40 -0400 Message-Id: <20200618181040.21132-4-joe.lawrence@redhat.com> In-Reply-To: <20200618181040.21132-1-joe.lawrence@redhat.com> References: <20200618181040.21132-1-joe.lawrence@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Make it bit easier to parse the kernel logs during the selftests by adding a "===== TEST: $test =====" delimiter when each individual test begins. Suggested-by: Petr Mladek Signed-off-by: Joe Lawrence Acked-by: Miroslav Benes Reviewed-by: Kamalesh Babulal Revieved-by: Petr Mladek Reviewed-by: Yannick Cote --- tools/testing/selftests/livepatch/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/livepatch/functions.sh b/tools/testing/selftests/livepatch/functions.sh index 5e5a79179fc1..36648ca367c2 100644 --- a/tools/testing/selftests/livepatch/functions.sh +++ b/tools/testing/selftests/livepatch/functions.sh @@ -264,6 +264,7 @@ function start_test { save_dmesg echo -n "TEST: $test ... " + log "===== TEST: $test =====" } # check_result() - verify dmesg output