[libvirt] [PATCH 0/5] snapshot coverage in 'make check'

Eric Blake posted 5 patches 5 years ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190324040203.24304-1-eblake@redhat.com
src/conf/snapshot_conf.c |   1 +
tests/Makefile.am        |   3 +-
tests/virsh-snapshot     | 212 +++++++++++++++++++++++++++++++++++++++
tests/virshtest.c        |   7 ++
tools/virsh.pod          |  10 +-
tools/virt-admin.pod     |   7 +-
tools/vsh.c              |  34 ++++++-
7 files changed, 263 insertions(+), 11 deletions(-)
create mode 100755 tests/virsh-snapshot
[libvirt] [PATCH 0/5] snapshot coverage in 'make check'
Posted by Eric Blake 5 years ago
Given that my recent snapshot changes introduced two separate bugs,
both of which were fairly easy to reproduce with the test:///default
driver, but neither of which caused 'make check' to alert me to the
problems, it's high time I submit a test, including enhancing virsh to
give me the functionality the test needs.

Eric Blake (5):
  snapshot: Avoid infloop during REDEFINE
  virsh: Parse # comments in batch mode
  virsh: Treat any command name starting with # as comment
  virsh: Add 'echo --err' option
  snapshot: Add tests of virsh -c test:///default snapshot*

 src/conf/snapshot_conf.c |   1 +
 tests/Makefile.am        |   3 +-
 tests/virsh-snapshot     | 212 +++++++++++++++++++++++++++++++++++++++
 tests/virshtest.c        |   7 ++
 tools/virsh.pod          |  10 +-
 tools/virt-admin.pod     |   7 +-
 tools/vsh.c              |  34 ++++++-
 7 files changed, 263 insertions(+), 11 deletions(-)
 create mode 100755 tests/virsh-snapshot

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/5] snapshot coverage in 'make check'
Posted by Michal Privoznik 5 years ago
On 3/24/19 5:01 AM, Eric Blake wrote:
> Given that my recent snapshot changes introduced two separate bugs,
> both of which were fairly easy to reproduce with the test:///default
> driver, but neither of which caused 'make check' to alert me to the
> problems, it's high time I submit a test, including enhancing virsh to
> give me the functionality the test needs.
> 
> Eric Blake (5):
>    snapshot: Avoid infloop during REDEFINE
>    virsh: Parse # comments in batch mode
>    virsh: Treat any command name starting with # as comment
>    virsh: Add 'echo --err' option
>    snapshot: Add tests of virsh -c test:///default snapshot*
> 
>   src/conf/snapshot_conf.c |   1 +
>   tests/Makefile.am        |   3 +-
>   tests/virsh-snapshot     | 212 +++++++++++++++++++++++++++++++++++++++
>   tests/virshtest.c        |   7 ++
>   tools/virsh.pod          |  10 +-
>   tools/virt-admin.pod     |   7 +-
>   tools/vsh.c              |  34 ++++++-
>   7 files changed, 263 insertions(+), 11 deletions(-)
>   create mode 100755 tests/virsh-snapshot
> 

ACK

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list