On 9/15/20 6:43 AM, Alex Bennée wrote:
> From: Max Reitz <[email protected]>
> 
> 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 <[email protected]>
> Reported-by: Thomas Huth <[email protected]>
> Suggested-by: Peter Maydell <[email protected]>
> Signed-off-by: Max Reitz <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Alex Bennée <[email protected]>
> ---
>  tests/qemu-iotests/check | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <[email protected]>

r~


Reply via email to