Re: [libvirt] [PATCH 03/10] tests: qemumonitor: Simplify handling of end of file in full file test

2018-06-08 Thread Peter Krempa
On Thu, Jun 07, 2018 at 21:18:30 -0400, John Ferlan wrote: > > > On 06/04/2018 09:58 AM, Peter Krempa wrote: > > On EOF, the loop can be terminated right away since most of it is > > skipped anyways and the handling of the last command is repeated after > > the loop. > > > > Signed-off-by:

Re: [libvirt] [PATCH 03/10] tests: qemumonitor: Simplify handling of end of file in full file test

2018-06-07 Thread John Ferlan
On 06/04/2018 09:58 AM, Peter Krempa wrote: > On EOF, the loop can be terminated right away since most of it is > skipped anyways and the handling of the last command is repeated after > the loop. > > Signed-off-by: Peter Krempa > --- > tests/qemumonitortestutils.c | 24

[libvirt] [PATCH 03/10] tests: qemumonitor: Simplify handling of end of file in full file test

2018-06-04 Thread Peter Krempa
On EOF, the loop can be terminated right away since most of it is skipped anyways and the handling of the last command is repeated after the loop. Signed-off-by: Peter Krempa --- tests/qemumonitortestutils.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff