Write a set of tests that check correct and incorrect UTF8 sequences
at the beginning, middle and end of a byte array. Also verify an all
zeros (hidden) SSID of varying length.
unit/test-ie.c: In function ‘ie_test_writer’:
unit/test-ie.c:238:2: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
unit/test-ie.c:251:17: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
==7978== 29 bytes in 3 blocks are definitely lost in loss record 2 of 2
==7978== at 0x4C2C66D: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7978== by 0x4012FD: l_malloc (util.c:62)
==7978== by 0x4018EF: l_util_hexstring (util.c:372)
==7978== by 0x40118E: ie_test (in
/home/denkenz/iwd-master/unit/test-ie)
==7978== by 0x401BE7: l_test_run (test.c:83)
==7978== by 0x401016: main (in /home/denkenz/iwd-master/unit/test-ie)