From nobody Mon Feb 9 10:50:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1665746939; cv=none; d=zohomail.com; s=zohoarc; b=HejwHX5dTk4hr9ETNzyiuFXhlb8POU3CnxEAv7xslil+2vWMQhkaIRvtICxUowXjh2FdMez/rjKMoMt3aVq68Swq/XYArNRf4V1N+Yq+saVjaumSQSyEiMkFDeDwsY4IWehVD6Z51aYWbVHCW/lsl/q7jGzyefSy00wP2sID97c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665746939; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=d2rrhw1FS1SMIx6/yA3FpHrbM6X0crdJbgfqicMVxLQ=; b=N2mDy0TjCyi7DMjldT6b0Jd83ha3tF1t9uV9ftSsXzhxubGif7UCLJeQoBPAm95U82PFVDLSRANiG7gARL1nQj43dSmsuXem3JS101R35Il7vZPAr1uGZs53TWouu6sgsYfZwt8kVyaz8UcEjwnoUu+n6IH+PznATt7oA+oCv4s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 166574693980978.46064729859631; Fri, 14 Oct 2022 04:28:59 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-313-YBhsYejaPtewuMAUG9XvuQ-1; Fri, 14 Oct 2022 07:28:53 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EF4F38853BA; Fri, 14 Oct 2022 11:28:49 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCDF41111A44; Fri, 14 Oct 2022 11:28:49 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A344C19465B2; Fri, 14 Oct 2022 11:28:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9802A1946588 for ; Fri, 14 Oct 2022 11:28:48 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 8AADF208DDB6; Fri, 14 Oct 2022 11:28:48 +0000 (UTC) Received: from ridgehead.redhat.com (unknown [10.43.2.1]) by smtp.corp.redhat.com (Postfix) with ESMTP id 13BED208DDBD; Fri, 14 Oct 2022 11:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665746938; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=d2rrhw1FS1SMIx6/yA3FpHrbM6X0crdJbgfqicMVxLQ=; b=i7X2NFURA7qCkEmi5G5Vg/BHIMm2MYtGp55Usd+JIzwXCG6dLdqhzjXtyVelFg38crEe1k Flf5mbJoOyoWpG3wCjRjoFGQTi7k5QRvuaV3FUTiSAH6EpswR3xJPV2zsIYvbujKOxJ1D1 xCOUegHBLBYHDW0H6emKf+Mch4H7f2Y= X-MC-Unique: YBhsYejaPtewuMAUG9XvuQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 3/7] ci: integration: Fix the test on avocado directory existence Date: Fri, 14 Oct 2022 13:28:41 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Skultety Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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: 1665746941371100007 Content-Type: text/plain; charset="utf-8"; x-default="true" It's a directory, so -d should be used with 'test'. Signed-off-by: Erik Skultety --- ci/integration-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/integration-template.yml b/ci/integration-template.yml index bb8969da19..2e7802dbe0 100644 --- a/ci/integration-template.yml +++ b/ci/integration-template.yml @@ -56,7 +56,7 @@ =20 .collect-logs: &collect-logs - mkdir logs - - test -e "$SCRATCH_DIR"/avocado && sudo mv "$SCRATCH_DIR"/avocado/lates= t/test-results logs/avocado; + - test -d "$SCRATCH_DIR"/avocado && sudo mv "$SCRATCH_DIR"/avocado/lates= t/test-results logs/avocado; - sudo coredumpctl info --no-pager > logs/coredumpctl.txt - sudo mv /var/log/libvirt logs/libvirt - sudo chown -R $(whoami):$(whoami) logs --=20 2.37.3