From: Nir Soffer <nirsof@gmail.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, qemu-block@nongnu.org, Nir Soffer <nirsof@gmail.com>
Subject: [Qemu-devel] [PATCH v4 0/2] Fix qemu-io return value on failure
Date: Tue, 31 Jan 2017 15:57:01 +0200 [thread overview]
Message-ID: <20170131135703.5638-1-nirsof@gmail.com> (raw)
This series fix qemu-io to fail with non zero exit code when failing to open
the file.
Changes since v3:
- Add cover letter
- Squash the tests fix with the behavior change, so git bisect landing on the
change in behavior does not hit unnecessarily-broken tests.
Tested by running qemu-io manually and by running tests/check-block.sh.
Note that test 059 has one unrelated test failure.
Nir Soffer (2):
qemu-io: Return non-zero exit code on failure
qemu-io: Add regression tests
qemu-io.c | 8 +++++--
tests/qemu-iotests/059.out | 3 ---
tests/qemu-iotests/070.out | 1 -
tests/qemu-iotests/075.out | 7 ------
tests/qemu-iotests/076.out | 3 ---
tests/qemu-iotests/078.out | 6 -----
tests/qemu-iotests/080.out | 18 --------------
tests/qemu-iotests/083.out | 17 -------------
tests/qemu-iotests/088.out | 6 -----
tests/qemu-iotests/092.out | 12 ----------
tests/qemu-iotests/116.out | 7 ------
tests/qemu-iotests/131.out | 1 -
tests/qemu-iotests/140.out | 1 -
tests/qemu-iotests/173 | 59 ++++++++++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/173.out | 9 +++++++
tests/qemu-iotests/group | 1 +
16 files changed, 75 insertions(+), 84 deletions(-)
create mode 100755 tests/qemu-iotests/173
create mode 100644 tests/qemu-iotests/173.out
--
2.9.3
next reply other threads:[~2017-01-31 13:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 13:57 Nir Soffer [this message]
2017-01-31 13:57 ` [Qemu-devel] [PATCH v4 1/2] qemu-io: Return non-zero exit code on failure Nir Soffer
2017-01-31 14:43 ` Eric Blake
2017-01-31 13:57 ` [Qemu-devel] [PATCH v4 2/2] qemu-io: Add regression tests Nir Soffer
2017-01-31 14:53 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170131135703.5638-1-nirsof@gmail.com \
--to=nirsof@gmail.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).