[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/8] iotests: Drop readlink -f
From: |
Richard Henderson |
Subject: |
Re: [PATCH v2 2/8] iotests: Drop readlink -f |
Date: |
Tue, 15 Sep 2020 10:14:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 9/15/20 6:43 AM, Alex Bennée wrote:
> From: Max Reitz <mreitz@redhat.com>
>
> On macOS, (out of the box) readlink does not have -f. We do not really
> need readlink here, though, it was just a replacement for realpath
> (which is not available on our BSD test systems), which we needed to
> make the $(dirname) into an absolute path.
>
> Instead of using either, just use "cd; pwd" like is done for
> $source_iotests.
>
> ("iotests: Allow running from different directory")
>
> Fixes: b1cbc33a3971b6bb005d5ac3569feae35a71de0f
> Reported-by: Claudio Fontana <cfontana@suse.de>
> Reported-by: Thomas Huth <thuth@redhat.com>
> Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> Message-Id: <20200914145606.94620-1-mreitz@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/qemu-iotests/check | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- [PATCH v2 0/8] configure deprecation, linux-user and iotest fixes, Alex Bennée, 2020/09/15
- [PATCH v2 1/8] linux-user: test, don't assert addr != test in pgb_reserved_va, Alex Bennée, 2020/09/15
- [PATCH v2 3/8] configure: move deprecated feature processing to supported_target, Alex Bennée, 2020/09/15
- [PATCH v2 2/8] iotests: Drop readlink -f, Alex Bennée, 2020/09/15
- Re: [PATCH v2 2/8] iotests: Drop readlink -f,
Richard Henderson <=
- [PATCH v2 4/8] configure: also skip deprecated targets with target-list-exclude, Alex Bennée, 2020/09/15
- [PATCH v2 6/8] configure: include tilegx-linux-user in the deprecation logic, Alex Bennée, 2020/09/15
- [PATCH v2 5/8] configure: clean-up the target-list-exclude logic, Alex Bennée, 2020/09/15
- [PATCH v2 7/8] gitlab: create a build-deprecated target, Alex Bennée, 2020/09/15
- [PATCH v2 8/8] configure: add [lm32|unicore32]-softmmu to deprecation logic, Alex Bennée, 2020/09/15