fb-socket.test trie-test.test string.test sha1.test asort-test.test binheap-test.test \
redblack-test.test fb-file.test fb-grow.test fb-pool.test fb-atomic.test \
fb-limfd.test fb-temp.test fb-mem.test fb-buffer.test fb-mmap.test url.test strtonum-test.test \
- gary.test time.test)
+ gary.test time.test crc.test)
$(o)/ucw/regex.test: $(o)/ucw/regex-t
$(o)/ucw/unicode.test: $(o)/ucw/unicode-t
$(o)/ucw/url.test: $(o)/ucw/url-t
$(o)/ucw/gary.test: $(o)/ucw/gary-t
$(o)/ucw/time.test: $(o)/ucw/time-conf-t
+$(o)/ucw/crc.test: $(o)/ucw/crc-t
ifdef CONFIG_UCW_THREADS
TESTS+=$(addprefix $(o)/ucw/,asio.test)
--- /dev/null
+# Tests for crc
+
+Name: Default/small
+Run: ../obj/ucw/crc-t 0 123456 37 3
+Out: d620f179
+
+Name: Default/big
+Run: ../obj/ucw/crc-t 0 123456 10037 3
+Out: d620f179
+
+Name: Small/small
+Run: ../obj/ucw/crc-t 1 123456 37 3
+Out: d620f179
+
+Name: Small/big
+Run: ../obj/ucw/crc-t 1 123456 10037 3
+Out: d620f179
+
+Name: Large/small
+Run: ../obj/ucw/crc-t 2 123456 37 3
+Out: d620f179
+
+Name: Large/big
+Run: ../obj/ucw/crc-t 2 123456 10037 3
+Out: d620f179