From nobody Mon Feb 9 09:52:08 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=1674227181; cv=none; d=zohomail.com; s=zohoarc; b=RhnzU6pO0a2Hi+3B1tvIRrROrg0phKzOFoQk4pE1I4csftITtXS8aAxC93+Oujy1XkG1Or53N2hWNijwWBRlJZYL48nBjcwqiczw5qFmLCC3fNh0Mae9sn3tW5uQWg6mkj38R/AlTF0MmdM7WwM3DYRpGV9DdmNhjsSCltMPLzg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674227181; 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=cW+im6QFzI7jxFXEIAc9wjSOeRBohMLPrtTS1bjF1rM=; b=GgpVLRxckW132ymK325Fux0BiUr3PWZUDgmYOjI6lAJEojt9OJBEIoWyc7+Da50k9xCxarLXDT5flFhHEgpWCsaJ0Ts6hHAEAvqe6rgNeqDj9T8VXHR+GKIn4yuxRmrPXQn2Zg/r+WKe8o711JZX8U5ItXdz1rHRi7M5kz1FzWQ= 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 1674227181559124.83511595758523; Fri, 20 Jan 2023 07:06:21 -0800 (PST) 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-269-BhQhoVwoOLOuLSd1JfWacQ-1; Fri, 20 Jan 2023 10:06:18 -0500 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 0B5FF857AA1; Fri, 20 Jan 2023 15:06:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id ED1751121319; Fri, 20 Jan 2023 15:06:11 +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 A541F1946A7A; Fri, 20 Jan 2023 15:06:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6E49B1946588 for ; Fri, 20 Jan 2023 15:06:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5EE312166B2C; Fri, 20 Jan 2023 15:06:09 +0000 (UTC) Received: from ridgehead.home.lan (ovpn-193-170.brq.redhat.com [10.40.193.170]) by smtp.corp.redhat.com (Postfix) with ESMTP id D19C62166B2A; Fri, 20 Jan 2023 15:06:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674227180; 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=cW+im6QFzI7jxFXEIAc9wjSOeRBohMLPrtTS1bjF1rM=; b=bCysnZcIpBgFBrCfTzqe1vGdkKVZbGHV7Q7/UR+ELDT7qZPxeW3Rvb9dGLSXNnWHceJ3DV g7sQvvcxejI4AG+yKLmhX8oo9+9enV5U3A3XRzG1OvZthdtd/z6m0s9SlE+kCrD9ul0hu1 CPWtUpsw1FDV/hhWA/xm0oPamKDQrcM= X-MC-Unique: BhQhoVwoOLOuLSd1JfWacQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt PATCH 6/7] ci: integration.sh: Replace 'test' with '[' operator Date: Fri, 20 Jan 2023 16:06:02 +0100 Message-Id: <0ce57f71d0a28fa313603ef1d55f781a17af85cb.1674223377.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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: 1674227182502100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Since we now have a standalone script instead of inlined shell commands in a YAML, we can adopt the common syntax for if-then-else clauses which involve the '[' test command alias rather than keep using 'test' explicitly. Signed-off-by: Erik Skultety --- ci/integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/integration.sh b/ci/integration.sh index cbd55d4253..41326d6e40 100644 --- a/ci/integration.sh +++ b/ci/integration.sh @@ -15,7 +15,7 @@ systemctl daemon-reexec # Source the os-release file to query the vendor-provided variables source /etc/os-release =20 -if test "$ID" =3D "centos" && test "$VERSION_ID" -eq 8 +if [ "$ID" =3D "centos" ] && [ "$VERSION_ID" -eq 8 ] then DAEMONS=3D"libvirtd virtlockd virtlogd" else --=20 2.39.0