On 8/1/19 11:24 AM, Daniel Henrique Barboza wrote:
[...]
So yeah. I am not sure what's different from the environments I use
versus
the one you're using (and probably the env of every other committer here,
otherwise this test failure would be pointed out earlier). I'll need
to think
more about it.
I had to take a look at vsh.c to understand, but I finally got it that
it was
the absence of 'readline-devel' library in all the systems I tested.
Installing
this library made the test work as you intended in my box. It also fixed in
the Power servers as well.
Without the library, virsh interactive mode doesn't stop work per se,
but the
commands aren't echoed back to the output file (as we can see in the
code that is conditional of WITH_READLINE inside vsh.c).
Eric, feel free to change the tests as you see fit. Your idea a couple of
messages earlier (avoid using virsh interactive mode, use batch mode
instead) looks sound. It also avoid making the test dependent on the
install of readline-devel.
Thanks,
DHB
Thanks,
DHB
>
>