sandbox: add compression tests
authorKees Cook <keescook@chromium.org>
Fri, 16 Aug 2013 14:59:11 +0000 (07:59 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 3 Sep 2013 19:30:05 +0000 (13:30 -0600)
commit3153e915b493a8d832e9260723c579d2544e5dc8
tree42fa03a41dd8cb5d8028aebc002fcf3717c4fc2e
parent628af1790ac3231455c1ae4a4e43b67136799fa2
sandbox: add compression tests

This adds the "test_compression" command when building the sandbox. This
tests the existing compression and decompression routines for simple
sanity and for buffer overflow conditions.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/sandbox.h
test/Makefile
test/compression.c [new file with mode: 0644]