From nobody Tue May 7 00:14:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642435014; cv=none; d=zohomail.com; s=zohoarc; b=XHU+PYcDGpDYrPzKXntzrUP5riOryQUY23qDmUaLHOODWo7om5m/2eldpDfKmy7t87NIKpaK7jmTRIDRECXp2nCXGkwcE6twf5CtPs+Kav+eU+FMP+DKrZPWaSGftxm3rsViTIyd+zGHZTFJIPQkqZuTRZCdMmPymwvhAQ9FhVg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642435014; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=T58Hy/czTx6I15PoGhMRJd92yUNiD+G7ZojmQRckYbk=; b=R2j27VFWOpMYVN5yF6qRH1RZ7iOaRV5sUNkEn6/e408LFN+DosVUEWyz7I2gMtBH5HjUQ7w64wKlJtoE00Od0D1rtj7BMUdLSy28JYB9pugse0lIoVSDphauOPn4t4qrzk01FrmJRCXr5mii2lyOfrgpSYIl6TPe1KHgK1p1QWg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1642435014427228.776628150198; Mon, 17 Jan 2022 07:56:54 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-108-E_Q7mXn8Nleuwuri4DPIwQ-1; Mon, 17 Jan 2022 10:56:49 -0500 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 8E458760E6; Mon, 17 Jan 2022 15:56:39 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3E44A5B93F; Mon, 17 Jan 2022 15:56:39 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 023A51806D1C; Mon, 17 Jan 2022 15:56:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20HFuca7002980 for ; Mon, 17 Jan 2022 10:56:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id A866A10A48BB; Mon, 17 Jan 2022 15:56:38 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 318BF10A48B8 for ; Mon, 17 Jan 2022 15:56:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642435013; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=T58Hy/czTx6I15PoGhMRJd92yUNiD+G7ZojmQRckYbk=; b=MLMUlX76tSeeaHDJq4moBPLTbvF2aeLuh0wOVMNa4s/VSVcvBh5tYmxJjLJjbx0vVbxVM1 17MY9puRfuvSDu1FGYiAVKiIZJRU/nzN83SbVR6GD/UH7tvpmgbm28vZaGM0rVU/+oe1H/ X7brtf8WJnOQFygkcF4vJbo6tC6/WU4= X-MC-Unique: E_Q7mXn8Nleuwuri4DPIwQ-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] testutils: Terminate usage string with a new line Date: Mon, 17 Jan 2022 16:56:36 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1642435015316100001 Content-Type: text/plain; charset="utf-8" If a test binary is executed with an argument then usage information is printed out (that no arguments are accepted and what environment variables affect execution). The string is printed onto stderr but it is not terminated with a newline character producing not so nice output. Signed-off-by: Michal Privoznik --- Pushed as trivial. tests/testutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testutils.c b/tests/testutils.c index 322c3b9400..2b37c1965d 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -826,7 +826,7 @@ int virTestMain(int argc, fprintf(stderr, "Usage: %s\n", argv[0]); fputs("effective environment variables:\n" "VIR_TEST_VERBOSE set to show names of individual tests\n" - "VIR_TEST_DEBUG set to show information for debugging failur= es", + "VIR_TEST_DEBUG set to show information for debugging failur= es\n", stderr); return EXIT_FAILURE; } --=20 2.34.1