<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tests/qemu-iotests/087, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tests/qemu-iotests/087?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tests/qemu-iotests/087?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-03-08T13:55:18+00:00</updated>
<entry>
<title>iotests: Drop deprecated 'props' from object-add</title>
<updated>2021-03-08T13:55:18+00:00</updated>
<author>
<name>Alberto Garcia</name>
</author>
<published>2021-02-22T11:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fa818b2febfc090acb9b2e69c1c2a4e4b38aee83'/>
<id>urn:sha1:fa818b2febfc090acb9b2e69c1c2a4e4b38aee83</id>
<content type='text'>
Signed-off-by: Alberto Garcia &lt;berto@igalia.com&gt;
Message-Id: &lt;20210222115737.2993-1-berto@igalia.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: define group in each iotest</title>
<updated>2021-01-20T20:53:22+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2021-01-16T13:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9dd003a99842d1d82c336e45c5cce656149de382'/>
<id>urn:sha1:9dd003a99842d1d82c336e45c5cce656149de382</id>
<content type='text'>
We are going to drop group file. Define group in tests as a preparatory
step.

The patch is generated by

    cd tests/qemu-iotests

    grep '^[0-9]\{3\} ' group | while read line; do
        file=$(awk '{print $1}' &lt;&lt;&lt; "$line");
        groups=$(sed -e 's/^... //' &lt;&lt;&lt; "$line");
        awk "NR==2{print \"# group: $groups\"}1" $file &gt; tmp;
        cat tmp &gt; $file;
    done

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20210116134424.82867-7-vsementsov@virtuozzo.com&gt;
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Check whether luks works</title>
<updated>2020-07-06T06:49:28+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2020-06-25T12:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d2a839ede850bbb23493ac03b1c2477026fe6bc7'/>
<id>urn:sha1:d2a839ede850bbb23493ac03b1c2477026fe6bc7</id>
<content type='text'>
Whenever running an iotest for the luks format, we should check whether
luks actually really works.

Tests that try to create luks-encrypted qcow2 images should do the same.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-Id: &lt;20200625125548.870061-7-mreitz@redhat.com&gt;
Reviewed-by: Maxim Levitsky &lt;mlevitsk@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Fix cleanup path in some tests</title>
<updated>2020-03-24T10:57:38+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2020-02-24T17:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=801ddbda7183e1e043015fd357ea5eb97d925fd2'/>
<id>urn:sha1:801ddbda7183e1e043015fd357ea5eb97d925fd2</id>
<content type='text'>
Some iotests leave behind some external data file when run for qcow2
with -o data_file.  Fix that.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-Id: &lt;20200224171631.384314-1-mreitz@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>qemu-iotests: Improve portability by searching bash in the $PATH</title>
<updated>2019-03-08T11:26:45+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2019-03-07T14:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=11a82d14293cd66f428f535741717ff338c0722b'/>
<id>urn:sha1:11a82d14293cd66f428f535741717ff338c0722b</id>
<content type='text'>
Bash is not always installed as /bin/bash. In particular on OpenBSD,
the package installs it in /usr/local/bin.
Use the 'env' shebang to search bash in the $PATH.

Patch created mechanically by running:

  $ git grep -lE '#! ?/bin/bash' -- tests/qemu-iotests \
    | while read f; do \
      sed -i 's|^#!.\?/bin/bash$|#!/usr/bin/env bash|' $f; \
    done

Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Drop use of bash keyword 'function'</title>
<updated>2018-11-19T17:16:46+00:00</updated>
<author>
<name>Eric Blake</name>
</author>
<published>2018-11-16T21:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8cedcffdc195bc39aeb1373826ba0a45629741e0'/>
<id>urn:sha1:8cedcffdc195bc39aeb1373826ba0a45629741e0</id>
<content type='text'>
Bash allows functions to be declared with or without the leading
keyword 'function'; but including the keyword does not comply with
POSIX syntax, and is confusing to ksh users where the use of the
keyword changes the scoping rules for functions.  Stick to the
POSIX form through iotests.

Done mechanically with:
  sed -i 's/^function //' $(git ls-files tests/qemu-iotests)

Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
Message-Id: &lt;20181116215002.2124581-1-eblake@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>qemu-iotests: remove unused variable 'here'</title>
<updated>2018-11-19T16:08:19+00:00</updated>
<author>
<name>Mao Zhongyi</name>
</author>
<published>2018-10-24T09:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bf22957309369cf6f642e715ff6c470671920e7e'/>
<id>urn:sha1:bf22957309369cf6f642e715ff6c470671920e7e</id>
<content type='text'>
Running
git grep '\$here' tests/qemu-iotests

has 0 hits, which means we are setting a variable that has
no use.  It appears that commit e8f8624d removed the last
use.  So execute the following cmd to remove all of
the 'here=...' lines as dead code.

sed -i '/^here=/d' $(git grep -l '^here=' tests/qemu-iotests)

Cc: kwolf@redhat.com
Cc: mreitz@redhat.com
Cc: eblake@redhat.com
Suggested-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Mao Zhongyi &lt;maozhongyi@cmss.chinamobile.com&gt;
Message-Id: &lt;20181024094051.4470-3-maozhongyi@cmss.chinamobile.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
[eblake: touch up commit message, reorder series, rebase to master]
Signed-off-by: Eric Blake &lt;eblake@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Make 087 pass without AIO enabled</title>
<updated>2017-11-17T17:21:31+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2017-11-15T18:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c0012e9a22ef23507025daaad01de03dcc928eec'/>
<id>urn:sha1:c0012e9a22ef23507025daaad01de03dcc928eec</id>
<content type='text'>
If AIO has not been enabled in the qemu build that is to be tested, we
should skip the "aio=native without O_DIRECT" test instead of failing.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-id: 20171115180732.31753-1-mreitz@redhat.com
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>iotests: Pull _filter_actual_image_size from 67/87</title>
<updated>2017-10-26T13:01:13+00:00</updated>
<author>
<name>Max Reitz</name>
</author>
<published>2017-10-09T16:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=44673a0b59d1fafd1abfdf35a1ac924b856c6ad5'/>
<id>urn:sha1:44673a0b59d1fafd1abfdf35a1ac924b856c6ad5</id>
<content type='text'>
Tests 067 and 087 filter the actual image size because it depends on the
host filesystem (and is not part of the respective test).  Since this is
generally true, we should have a common filter function for this, so
let's pull out the sed line from both tests into such a function.

Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-id: 20171009163456.485-2-mreitz@redhat.com
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Jeff Cody &lt;jcody@redhat.com&gt;
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>qcow2: add iotests to cover LUKS encryption support</title>
<updated>2017-07-11T15:44:56+00:00</updated>
<author>
<name>Daniel P. Berrange</name>
</author>
<published>2017-06-23T16:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=426d52d88c54cf048385eeb73d802dd87c1317bd'/>
<id>urn:sha1:426d52d88c54cf048385eeb73d802dd87c1317bd</id>
<content type='text'>
This extends the 087 iotest to cover LUKS encryption when doing
blockdev-add.

Two further tests are added to validate read/write of LUKS
encrypted images with a single file and with a backing file.

Reviewed-by: Alberto Garcia &lt;berto@igalia.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
Signed-off-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
Message-id: 20170623162419.26068-15-berrange@redhat.com
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
</feed>
