From patchwork Thu Jan 3 13:26:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1020284 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43VpbY4H6wz9s55 for ; Fri, 4 Jan 2019 00:26:33 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id B8CC03E6BBA for ; Thu, 3 Jan 2019 14:26:30 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) by picard.linux.it (Postfix) with ESMTP id 4F3D43E6A7A for ; Thu, 3 Jan 2019 14:26:18 +0100 (CET) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 876A86008BC for ; Thu, 3 Jan 2019 14:26:18 +0100 (CET) Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1294BADF3; Thu, 3 Jan 2019 13:26:18 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Thu, 3 Jan 2019 14:26:06 +0100 Message-Id: <20190103132607.24930-3-pvorel@suse.cz> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190103132607.24930-1-pvorel@suse.cz> References: <20190103132607.24930-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=7.0 tests=SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-2.smtp.seeweb.it Cc: Yixin Zhang Subject: [LTP] [PATCH v2 2/3] ver_linux: Add lsb_release -a X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Signed-off-by: Petr Vorel Reviewed-by: Li Wang Acked-by: Cyril Hrubis --- ver_linux | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ver_linux b/ver_linux index bbc89987b..f083c0df8 100755 --- a/ver_linux +++ b/ver_linux @@ -19,6 +19,10 @@ if [ $? = 1 ]; then echo '/etc/issue:' cat /etc/issue 2> /dev/null fi +if [ $? = 1 ]; then + echo 'lsb_release -a' + lsb_release -a 2> /dev/null +fi echo echo 'uname:'