From patchwork Mon Oct 29 16:15:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 10659517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CB4111751 for ; Mon, 29 Oct 2018 16:16:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8F7B29B7D for ; Mon, 29 Oct 2018 16:16:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D37329B92; Mon, 29 Oct 2018 16:16:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CA1129BA3 for ; Mon, 29 Oct 2018 16:16:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727678AbeJ3BFU (ORCPT ); Mon, 29 Oct 2018 21:05:20 -0400 Received: from imap.thunk.org ([74.207.234.97]:40026 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727597AbeJ3BFU (ORCPT ); Mon, 29 Oct 2018 21:05:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1r0jIJ5kfvu3J7zNCCybaOaV+/LfoUOb4gvMYhUYSuQ=; b=hC4UZCZSgEXMECa/SWgpuaED5q PCMgCOSBxnbhQLPHKNu5/Dpd5+WlXyxu86VqzLwJX583gLWn4gqtCqaoNkm7sRUGQbygGxVj5NvNB j4Hk6xZI2UNNapAr+mSJAtxHdanIlgzNMVgGHc2VeIurXnmp5I7Ef7Am1brFLqK114iI=; Received: from root (helo=callcc.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.89) (envelope-from ) id 1gHACx-00026a-Vb; Mon, 29 Oct 2018 16:16:04 +0000 Received: by callcc.thunk.org (Postfix, from userid 15806) id 363507A45B5; Mon, 29 Oct 2018 12:16:03 -0400 (EDT) From: Theodore Ts'o To: linux-block@vger.kernel.org Cc: Theodore Ts'o Subject: [PATCH blktests] Add use of logger so that syslog files show when each test starts Date: Mon, 29 Oct 2018 12:15:57 -0400 Message-Id: <20181029161557.7652-1-tytso@mit.edu> X-Mailer: git-send-email 2.18.0.rc0 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Theodore Ts'o --- check | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check b/check index f6c3537..ebd87c0 100755 --- a/check +++ b/check @@ -319,6 +319,7 @@ _call_test() { local dmesg_marker="" CHECK_DMESG=0 fi + $LOGGER_PROG "run blktests $TEST_NAME" trap _cleanup EXIT if ! TMPDIR="$(mktemp --tmpdir -p "$OUTPUT" -d "tmpdir.${TEST_NAME//\//.}.XXX")"; then @@ -578,6 +579,8 @@ fi eval set -- "$TEMP" unset TEMP +LOGGER_PROG="$(type -P logger)" || LOGGER_PROG=true + if [[ -r config ]]; then # shellcheck disable=SC1091 . config