]> git.proxmox.com Git - mirror_qemu.git/commit - tests/migration-test.c
tests: hide stderr for postcopy recovery test
authorPeter Xu <peterx@redhat.com>
Tue, 10 Jul 2018 09:19:02 +0000 (17:19 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 10 Jul 2018 14:23:22 +0000 (15:23 +0100)
commit3e81f73c7a1286e251180c19f62829fe5c045e39
treea1398450c587fa9526b319cde50c4f8fbf9fcc45
parentd5f496407db4444758e3374b95109a5d18eba70b
tests: hide stderr for postcopy recovery test

We dumped something when network failure happens.  We should avoid those
messages to be dumped when running the tests:

  $ ./tests/migration-test -p /x86_64/migration/postcopy/recovery
  /x86_64/migration/postcopy/recovery: qemu-system-x86_64: check_section_footer: Read section footer failed: -5
  qemu-system-x86_64: Detected IO failure for postcopy. Migration paused.
  qemu-system-x86_64: Detected IO failure for postcopy. Migration paused.
  OK

After the patch:

  $ ./tests/migration-test -p /x86_64/migration/postcopy/recovery
  /x86_64/migration/postcopy/recovery: OK

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180710091902.28780-11-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tests/migration-test.c