From nobody Sun May 5 19:27:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1564173280; cv=none; d=zoho.com; s=zohoarc; b=ol64eCO7ZZ0mXE4aEanf9sYrjH0E7TcRZlDZb5CHIBMvu7scIzALaFx/DjETrTgtZIIJCaLUk6N/kEa925M7JnuaK+VaC1nI7Un8I3dlF/3kMf0S+MtLEU07lYRZehkKeVWXJ+FGZKI3zOFBlqVk4K81pU3ju3X8VJnswt8GWLc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564173280; 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:ARC-Authentication-Results; bh=yA4u26xpqZS2JW6WFZWktOkKei2TBlLVQXB2Y/MrAEc=; b=aCPgDZbTWgywRROXb6vCIgBSSM/DBLbh2Tlt+YNAby+HQXeXnmIT6GYlKJIUysYNXH5EbHh2AEZiEAc2qviEICAk73l6SW4hajHsC1QsWFcaIGMnUOo/5S3HZCh6KMuRtO7eAq1qzFfB/wQRh9CFdjgxoFfTeD9mI9llDDv/2Ws= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1564173280891604.2998613654145; Fri, 26 Jul 2019 13:34:40 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B4DC63086208; Fri, 26 Jul 2019 20:34:35 +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 108495D717; Fri, 26 Jul 2019 20:34:33 +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 2ECD918045CE; Fri, 26 Jul 2019 20:34:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x6QKYRuT028468 for ; Fri, 26 Jul 2019 16:34:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id A4FF45C22C; Fri, 26 Jul 2019 20:34:27 +0000 (UTC) Received: from blue.redhat.com (ovpn-116-93.phx2.redhat.com [10.3.116.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6AC925C70A for ; Fri, 26 Jul 2019 20:34:24 +0000 (UTC) From: Eric Blake To: libvir-list@redhat.com Date: Fri, 26 Jul 2019 15:34:24 -0500 Message-Id: <20190726203424.14657-1-eblake@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] backup: Fix tests/virsh-snapshot 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Fri, 26 Jul 2019 20:34:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Creating an 'exp' output file, but never comparing it against the actual output, does no one any good. :) Fixes: 280a2b41e Signed-off-by: Eric Blake --- Pushing under the trivial rule. tests/virsh-snapshot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/virsh-snapshot b/tests/virsh-snapshot index b23d949f62..1034140cde 100755 --- a/tests/virsh-snapshot +++ b/tests/virsh-snapshot @@ -207,6 +207,8 @@ Descendants: 0 Metadata: yes EOF +sed '1,/^virsh #/d; /virsh #/d' < out > out.cooked || fail=3D1 +compare exp out.cooked || fail=3D1 cat < exp || fail=3D1 error: invalid argument: parent s3 for moment s2 not found --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list