3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-04 19:09:24 +01:00
Commit Graph

363 Commits

Author SHA1 Message Date
Denis Kenzior
754264fe6a unit: Add basic mpdu unit test 2014-12-17 16:22:39 -06:00
Denis Kenzior
9e8654976d unit: Add unit/test-crypto test
And move the PSK generation from passphrase unit tests there
2014-11-14 21:41:59 -06:00
Marcel Holtmann
34d8b0d308 ie: Keep copyright notice the same for all source files 2014-08-03 08:14:16 +02:00
Denis Kenzior
1f65caf4e4 unit: Take out unused function 2014-07-31 10:18:47 -05:00
Denis Kenzior
70f6999a61 unit: Redo test data setup 2014-07-31 10:17:07 -05:00
Denis Kenzior
89b91b7629 unit: Fix warnings
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]
2014-07-31 09:59:55 -05:00
Jukka Rissanen
b461863f78 unit: Add IE builder test cases 2014-07-31 09:59:01 -05:00
Jukka Rissanen
8cb16f41a8 unit: Refactor IE reader test
Use real beacon frame data when testing the IE reader API.
2014-07-30 17:14:46 -05:00
Denis Kenzior
5cf28c6dc7 unit: Fix memory leak
==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)
2014-07-15 19:18:08 -05:00
Denis Kenzior
f2ae753964 unit: Fix compiler warning
unit/test-ie.c: In function ‘ie_test’:
unit/test-ie.c:70:2: error: comparison between signed and unsigned
integer expressions [-Werror=sign-compare]
2014-07-15 19:18:08 -05:00
Denis Kenzior
d0e76fda03 unit: Fix style issue 2014-07-15 19:18:08 -05:00
Jukka Rissanen
e12bdd02bd unit: Add information element parser unit test cases 2014-07-15 19:18:08 -05:00
Marcel Holtmann
2286890184 unit: Add SHA-1 versions of PBKDF2 and PRF test cases 2014-05-11 11:57:04 -07:00