[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] iotests/028: Fix for long $TEST_DIRs
From: |
Kevin Wolf |
Subject: |
Re: [PATCH v2] iotests/028: Fix for long $TEST_DIRs |
Date: |
Mon, 14 Oct 2019 11:58:21 +0200 |
User-agent: |
Mutt/1.12.1 (2019-06-15) |
Am 11.10.2019 um 14:18 hat Max Reitz geschrieben:
> For long test image paths, the order of the "Formatting" line and the
> "(qemu)" prompt after a drive_backup HMP command may be reversed. In
> fact, the interaction between the prompt and the line may lead to the
> "Formatting" to being greppable at all after "read"-ing it (if the
> prompt injects an IFS character into the "Formatting" string).
>
> So just wait until we get a prompt. At that point, the block job must
> have been started, so "info block-jobs" will only return "No active
> jobs" once it is done.
>
> Reported-by: Thomas Huth <address@hidden>
> Signed-off-by: Max Reitz <address@hidden>
Thanks, applied to the block branch.
Kevin