diff options
author | Andrey Drobyshev <andrey.drobyshev@virtuozzo.com> | 2023-11-22 14:15:38 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-28 14:56:32 +0100 |
commit | 3b7094fe8329c5c7bb0d685e1876aa30f59bece6 (patch) | |
tree | cdb0ea2d4fc8c01be5f0fb3f5b12eaaff7fdc1e6 /tests/qemu-iotests/059 | |
parent | e867b01cd6658a64c16052117dbb18093a2f9772 (diff) |
iotests: fix default machine type detection
The machine type is being detected based on "-M help" output, and we're
searching for the line ending with " (default)". However, in downstream
one of the machine types s marked as deprecated might become the
default, in which case this logic breaks as the line would now end with
" (default) (deprecated)". To fix potential issues here, let's relax
that requirement and detect the mere presence of " (default)" line
instead.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Message-ID: <20231122121538.32903-1-andrey.drobyshev@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/059')
0 files changed, 0 insertions, 0 deletions