[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] tests/test-replication behaves unhelpfully if system is out
From: |
Peter Maydell |
Subject: |
[Qemu-devel] tests/test-replication behaves unhelpfully if system is out of disk space |
Date: |
Mon, 25 Mar 2019 11:27:32 +0000 |
The tests/test-replication code tries to create some temporary
working files in /tmp/. If the system it's running on happens to
be out of disk space in /tmp/ it fails obscurely like this:
ERROR:/home/pm215/qemu/tests/test-replication.c:120:test_blk_write:
assertion failed: (async_ret == 0)
In particular, this fails to print the ENOSPC errno which has been
returned by blk_aio_pwritev(). If the test case printed the
errno (preferably in its human readable form) then it would
be clear that the test was failing because of a lack of disk
space rather than for some obscure test bug or bug in QEMU...
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] tests/test-replication behaves unhelpfully if system is out of disk space,
Peter Maydell <=