diff options
author | Amit Shah <amit.shah@redhat.com> | 2013-03-15 17:01:16 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2013-03-15 17:01:16 +0530 |
commit | 15932cdbf4ff45f30466332fbdb94a3231f495cb (patch) | |
tree | 733480f70bfa05aeb5e2b9907d4c465868b1ced9 | |
parent | 0c6b913846a92fe8395dfb2456386311425f30b3 (diff) | |
download | test-virtserial-15932cdbf4ff45f30466332fbdb94a3231f495cb.tar.gz test-virtserial-15932cdbf4ff45f30466332fbdb94a3231f495cb.tar.xz test-virtserial-15932cdbf4ff45f30466332fbdb94a3231f495cb.zip |
auto-test: console open not failing isn't fatal
The test that checks for a console port to be opened shouldn't be fatal
-- we can go ahead and interact with the console even if open succeeded
or we got another error instead of -ENXIO.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
-rw-r--r-- | auto-virtserial.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/auto-virtserial.c b/auto-virtserial.c index 244a61f..5ca945b 100644 --- a/auto-virtserial.c +++ b/auto-virtserial.c @@ -956,8 +956,6 @@ static int test_console(int nr) ret = guest_open_port(nr); err = result(__func__, true, "open", ret, -ENXIO, 0, OP_EQ, false); - if (err) - return err; } host_connect_chardev(nr); |