From patchwork Mon May 11 14:10:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 6377551 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4ECABEEE1 for ; Mon, 11 May 2015 14:10:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08F6320636 for ; Mon, 11 May 2015 14:10:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D0674205F5 for ; Mon, 11 May 2015 14:10:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9A216E3E2; Mon, 11 May 2015 07:10:45 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id BDB716E3E2 for ; Mon, 11 May 2015 07:10:43 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 11 May 2015 07:10:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,407,1427785200"; d="scan'208";a="492067364" Received: from cmastrog-mobl.ger.corp.intel.com (HELO strange.ger.corp.intel.com) ([10.252.24.156]) by FMSMGA003.fm.intel.com with ESMTP; 11 May 2015 07:10:42 -0700 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Mon, 11 May 2015 15:10:41 +0100 Message-Id: <1431353441-12819-1-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 Subject: [Intel-gfx] [PATCH i-g-t] lib: Add missing '\n' to error message X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Those messages where missing a new line at the end. Take the opportunity to re-format the messages to fit in the 80 chars limit. Signed-off-by: Damien Lespiau --- lib/igt_aux.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 84b84e4..d5c70fa 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -357,8 +357,10 @@ void igt_system_suspend_autoresume(void) igt_skip_on_simulation(); ret = system("rtcwake -s 30 -m mem"); - igt_assert_f(ret == 0, "This failure means that something is wrong with the rtcwake tool " - "or how your distro is set up. This is not a i915.ko or i-g-t bug."); + igt_assert_f(ret == 0, + "This failure means that something is wrong with the " + "rtcwake tool or how your distro is set up. This is not " + "a i915.ko or i-g-t bug.\n"); } /** @@ -385,8 +387,10 @@ void igt_system_hibernate_autoresume(void) * or if we have to wait excessively long before resume */ ret = system("rtcwake -s 90 -m disk"); - igt_assert_f(ret == 0, "This failure means that something is wrong with the rtcwake tool " - "or how your distro is set up. This is not a i915.ko or i-g-t bug."); + igt_assert_f(ret == 0, + "This failure means that something is wrong with the " + "rtcwake tool or how your distro is set up. This is not " + "a i915.ko or i-g-t bug.\n"); } /**