From patchwork Tue Oct 4 13:00:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 612222 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp163295pvb; Tue, 4 Oct 2022 06:14:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6pqmpYw2KWnyHqNdm36Yp0MGzyhkFFWkJ5wmNUyANFRNBeaUk8g8bGH2pw3pGbt/TqU3pR X-Received: by 2002:ac8:5706:0:b0:35c:bd27:bdd4 with SMTP id 6-20020ac85706000000b0035cbd27bdd4mr19375352qtw.68.1664889251210; Tue, 04 Oct 2022 06:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664889251; cv=none; d=google.com; s=arc-20160816; b=zTbjgzaUgQ1vtniW/Q2y2dAZ+6pQqnew39wH4AEoBciQ4JgZKk2HomN1M81TTotiPD m6NJw9Dz9qtxVfNYUCVKHuovaBfd2W5Mn/G0lEI0X7RVVDQ/onqiNzRy/16Cir0M6/8n 1j59tDOsB6GzRbcXRgtbqHwR2Jt5dFfE1hZCPP86wL2NsBUpAAxHSzSjw0h1iAD24I6N 8jgHvQzoZG6cVvjCNnKGzUy+Pqv9iai7G01IGOsMv/u0WOFAjOjKpwB+cc5+m1YVeY8q u4eeOey3st+lAdDufVEgQkeWff1faRKb8iY6UYe/dh3x4kH/4Ju3ioruzlKfSGATTRb3 4szA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VFN4sW6keUVYNwvkm2pyXUk12EUjNrkHvkCTvvRa17I=; b=fbDWNk5bfF00RP3/19RIreSUmCe+WVtXGUsJTsbky5HTj7Z0C46KL3GLIx5b+63p6h 0kk1ilrOo32CkmUo+LcN03BwEo8jvqXywDKN57Vcf1Lc2kYi4bmbhKuv4cITZFRHPK0v F604ZTA3iX4DGDjup0+Qa6b6FlVbZpK3xl2zKE5MoWRlE72twzKRFXgN+ueNl8DxOHyX rqOEpM4TI8oWvh1BwLcW1PAKQhkJnMJgjrswIVw8yMkv86kSPWCgro+FA1M4ZNlWbV20 8pH0qfu9WoVTDmDnrRQ74qTCFffoCiLaTxVMZtjlYcJRp/kBXg4EbOATG/JeqkssCzkI dEZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bJdj78Rk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d24-20020ac85358000000b0034455c168b6si4631341qto.108.2022.10.04.06.14.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2022 06:14:11 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bJdj78Rk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofhkQ-000277-On for patch@linaro.org; Tue, 04 Oct 2022 09:14:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofhYR-0008FY-Kk for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:01:52 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:41672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofhYO-0007Mz-1a for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:01:46 -0400 Received: by mail-wr1-x42c.google.com with SMTP id bu30so1323412wrb.8 for ; Tue, 04 Oct 2022 06:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=VFN4sW6keUVYNwvkm2pyXUk12EUjNrkHvkCTvvRa17I=; b=bJdj78RkWeWqZ//rT4ow5sWgFnUBQIfgKt5dsxgNA8nTQ712iPntEXsNwtU1A7GrfC P+/SWvPBEyypIoGJyUqngzEKdvyFL8cxui6F8EHn3e4uajKh1qfnT+vI9nsKbqiAIdm/ HV0wkJTZdkZRkUWn032qEAL3lH0uwbYQel/hjOON1O2vsujauETB5OhvGJQ9YcYGH8k4 6Ao7etU2WlxlU0n+41qYR8mhOyJlaDaJCzHCxd3NCX3tag090bpTtdj9A+DW88O+mK77 1S/ZEqqhthXj2WLETEZ4j8mbMp2Z25xm6Gs/F99LP1pelmuUaW8WuVwmCdOXDn1NOQ3L BSAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=VFN4sW6keUVYNwvkm2pyXUk12EUjNrkHvkCTvvRa17I=; b=GBsx+t16/ertnozCDXGdisdMDflpde8RIxC/8wcMp1zskPV3RX38L4Ssua3gCp6Lek 57IIo0eYi6kP4cHhiO3xQeeGUwDaLtz+chw+kOc+8DKI2dCSA4D4RgxEYDLExJzqFcuw 2lGhIMrDjNhA1l3O9xCeUgLglygmDQTR21cT02foL2GnyzQpbIAa85c0rHwgRDeof4Yp j5Wa8xWESTNLjSVrQoYyXT6oBT0H4dsyqiLxUeLTfXm4xRwPyRifl7KXC19zsJePKw0E +Nft84jMFoUbw9YbUUkgkgmsbBrEgxd2+GNOWhj4vVPFlAqn42YcKT+MywvxCZ+RLD6I Caog== X-Gm-Message-State: ACrzQf3mb0LGtic5HQ9NDZSgXKgnXJS8BSRo9qqSiQiW1PE5dMkaM4mF wb3+xEZ3NU8jI31Vmva+UlK7w8i5XTawqw== X-Received: by 2002:adf:dbc5:0:b0:22c:c605:3b81 with SMTP id e5-20020adfdbc5000000b0022cc6053b81mr15993686wrj.218.1664888502733; Tue, 04 Oct 2022 06:01:42 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id k25-20020adfd239000000b0022af865810esm12114845wrh.75.2022.10.04.06.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 06:01:40 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B74AF1FFBC; Tue, 4 Oct 2022 14:01:38 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, "Lucas Mateus Castro (alqotel)" , =?utf-8?q?D?= =?utf-8?q?aniel_P_=2E_Berrang=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 04/54] tests/docker: run script use realpath instead of readlink Date: Tue, 4 Oct 2022 14:00:48 +0100 Message-Id: <20221004130138.2299307-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221004130138.2299307-1-alex.bennee@linaro.org> References: <20221004130138.2299307-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Lucas Mateus Castro (alqotel)" The alpine docker image only comes with busybox, which doesn't have the '-e' option on its readlink, so change it to 'realpath' to avoid that problem. Suggested-by: Daniel P. Berrangé Signed-off-by: Lucas Mateus Castro (alqotel) Message-Id: <20220922135516.33627-5-lucas.araujo@eldorado.org.br> Signed-off-by: Alex Bennée Message-Id: <20220929114231.583801-5-alex.bennee@linaro.org> diff --git a/tests/docker/run b/tests/docker/run index 421393046b..9eb96129da 100755 --- a/tests/docker/run +++ b/tests/docker/run @@ -15,7 +15,7 @@ if test -n "$V"; then set -x fi -BASE="$(dirname $(readlink -e $0))" +BASE="$(dirname $(realpath $0))" # Prepare the environment export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH