Lumiera  0.pre.03
»edit your freedom«
test-safeclib.c File Reference

Go to the source code of this file.

Description

C unit test to cover size checked C operations.

See also
safeclib.h

Definition in file test-safeclib.c.

#include "lib/safeclib.h"
#include "lib/tmpbuf.h"
#include "lib/test/test.h"
#include <sys/time.h>
#include <sys/resource.h>

Functions

TESTS_BEGIN TEST (allocation0)
 
 TEST (allocation1024)
 
 TEST (allocationtoobig)
 
 TEST (streq)
 
 TEST (tmpbuf)
 
 TEST (tr0)
 
 TEST (tr)
 
 TEST (tr_)