Changeset e1b4ae0 in mainline for uspace/srv/net/tcp/test/pdu.c


Ignore:
Timestamp:
2017-09-11T07:05:21Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9713b0b
Parents:
975d528
Message:

Start adding tests for TCP conn module. Make sure all connections have been freed at the end of a test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/test/pdu.c

    r975d528 re1b4ae0  
    6262
    6363        rc = tcp_pdu_encode(&epp, seg, &pdu);
    64         PCUT_ASSERT_INT_EQUALS(EOK, rc);
     64        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    6565        rc = tcp_pdu_decode(pdu, &depp, &dseg);
    66         PCUT_ASSERT_INT_EQUALS(EOK, rc);
     66        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    6767
    6868        test_seg_same(seg, dseg);
     
    100100
    101101        rc = tcp_pdu_encode(&epp, seg, &pdu);
    102         PCUT_ASSERT_INT_EQUALS(EOK, rc);
     102        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    103103        rc = tcp_pdu_decode(pdu, &depp, &dseg);
    104         PCUT_ASSERT_INT_EQUALS(EOK, rc);
     104        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    105105
    106106        test_seg_same(seg, dseg);
Note: See TracChangeset for help on using the changeset viewer.