commit | d7080b8afd58f0447089f9ab3c0aa4f546c7c5b1 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Feb 07 10:58:12 2017 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Feb 07 11:22:57 2017 +0100 |
tree | eb2c05dab231c303c93ee7fbe83445535b32dc30 | |
parent | d8450ff516693f7c0da2781e3faf30e334bf59bb [diff] |
test BUGFIX connected is now checked properly
diff --git a/tests/test_io.c b/tests/test_io.c index 6ad68ad..203e3cc 100644 --- a/tests/test_io.c +++ b/tests/test_io.c
@@ -71,8 +71,6 @@ w->rpc = nc_rpc_lock(NC_DATASTORE_RUNNING); assert_non_null(w->rpc); - w->session->ti.fd.in = -1; - *state = w; return 0; @@ -166,6 +164,7 @@ return test_write_rpc_bad(state); } + int main(void) { const struct CMUnitTest io[] = {