journal: add the "repeating sequence" test case
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 13 Dec 2015 19:33:17 +0000 (14:33 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 13 Dec 2015 20:00:30 +0000 (15:00 -0500)
commitae5e1b19e78ed85259868d12ca8042fd2e87d423
tree993b89c15d8d984a75b93bbddc4dd20e1c50ed1d
parente3cc7fc45b395416462200e61af6877966488ea0
journal: add the "repeating sequence" test case

This was the case that caused various problems that were fixed in
preceding patches, so it is good to add a test that uses it directly.

In "may_fail" test cases try again with a bigger buffer.

Instead of allocating various buffers on the stack, malloc them.
This is more reliable in case of big buffers, and allows tools like
valgrind and address sanitizer to find overflows more easily.
src/journal/test-compress.c