summaryrefslogtreecommitdiffstats
path: root/src/tests/tests.c
diff options
context:
space:
mode:
authorMichael Brown2012-05-07 17:56:17 +0200
committerMichael Brown2012-05-07 17:56:50 +0200
commite844297ef683e627106ae0c9b75ecb70791f1878 (patch)
tree3dc8db7c51d9b23340ac8ce2e1db8c0e03fee8e7 /src/tests/tests.c
parent[test] Fix compiler warning on older gcc versions (diff)
downloadipxe-e844297ef683e627106ae0c9b75ecb70791f1878.tar.gz
ipxe-e844297ef683e627106ae0c9b75ecb70791f1878.tar.xz
ipxe-e844297ef683e627106ae0c9b75ecb70791f1878.zip
[test] Add self-tests for crc32_le()
Add self-tests for crc32_le() using test vectors generated with Perl's Digest::CRC. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/tests.c')
-rw-r--r--src/tests/tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/tests.c b/src/tests/tests.c
index fc1a3978..cfecff6e 100644
--- a/src/tests/tests.c
+++ b/src/tests/tests.c
@@ -29,6 +29,7 @@ REQUIRE_OBJECT ( list_test );
REQUIRE_OBJECT ( byteswap_test );
REQUIRE_OBJECT ( settings_test );
REQUIRE_OBJECT ( time_test );
+REQUIRE_OBJECT ( crc32_test );
REQUIRE_OBJECT ( md5_test );
REQUIRE_OBJECT ( sha1_test );
REQUIRE_OBJECT ( sha256_test );