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: 1685915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=bJdj78Rk; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MhdSc6Whtz1yqj for ; Wed, 5 Oct 2022 00:13:52 +1100 (AEDT) Received: from localhost ([::1]:60924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofhk6-000277-PS for incoming@patchwork.ozlabs.org; Tue, 04 Oct 2022 09:13:50 -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-Google-Smtp-Source: AMsMyM5QIEUU+Uyjqer3vueIvS/uIbhcC19TL8weZo8QkjzNc/D95ZEl+Xf3iW9dq89EAf2bD3li4g== 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+incoming=patchwork.ozlabs.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