blob: d2ba86ce698cb17f6d5c0f80da93fe1868657b32 [file] [log] [blame]
Paul Bakker9d781402011-05-09 16:17:09 +00001BEGIN_HEADER
2#include <polarssl/error.h>
3END_HEADER
4
Paul Bakker5690efc2011-05-26 13:16:06 +00005BEGIN_DEPENDENCIES
6depends_on:POLARSSL_ERROR_C
7END_DEPENDENCIES
8
Paul Bakker9d781402011-05-09 16:17:09 +00009BEGIN_CASE
Paul Bakkerdbd443d2013-08-16 13:38:47 +020010error_strerror:#code:result_str
Paul Bakker9d781402011-05-09 16:17:09 +000011{
12 char buf[500];
13
14 error_strerror( {code}, buf, 500 );
15
16 TEST_ASSERT( strcmp( buf, {result_str} ) == 0 );
17}
18END_CASE