projects
/
project
/
fwtool.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add cram based unit tests
[project/fwtool.git]
/
tests
/
cram
/
test_crc32.t
1
set PATH for convenience:
2
3
$ [ -n "$TEST_CRC32" ] && export PATH="$(dirname "$TEST_CRC32"):$PATH"
4
$ alias test-crc32='valgrind --quiet --leak-check=full test-crc32'
5
6
check that crc32 is producing expected results:
7
8
$ test-crc32
9
all_ffs=0x44f33105
10
all_7fs=0x3726dda7
11
all_ones=0xbea1dbe8
12
all_zeroes=0xa77a69f2
13
quick_fox=0x7c7180f2