[vlc-devel] commit: test_block: rename to bloc_test. c because all test_ files are ignored by git. ( Rémi Duraffort )
Rémi Duraffort
ivoire at videolan.org
Sun Aug 30 21:09:35 CEST 2009
> diff --git a/src/test/test_block.c b/src/test/block_test.c
> similarity index 94%
> rename from src/test/test_block.c
> rename to src/test/block_test.c
> index 0f88219..05f9b7c 100644
> --- a/src/test/test_block.c
> +++ b/src/test/block_test.c
> @@ -75,10 +75,6 @@ static void test_block (void)
> assert (!memcmp (block->p_buffer + 200, text, sizeof (text)));
>
> block = block_Realloc (block, -200, sizeof (text) + 200);
> - assert (block != NULL);
> - assert (block->i_buffer == sizeof (text));
> - assert (!memcmp (block->p_buffer, text, sizeof (text)));
> - block_Release (block);
>
> //block = block_Alloc (SIZE_MAX);
> //assert (block == NULL);
> @@ -88,6 +84,7 @@ int main (void)
> {
> test_block ();
> test_block_File ();
> + test_block ();
Sorry for the mess, that fixed now.
Best regards
--
Rémi Duraffort | ivoire
More information about the vlc-devel
mailing list