]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
libcgrouptest: Move functions into a new file to reuse
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Fri, 9 Jan 2009 16:23:01 +0000 (16:23 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Fri, 9 Jan 2009 16:23:01 +0000 (16:23 +0000)
commit8b53bf5107f1e7540e91972b2bebf8484fa43fa5
tree95a965d946d10877ad40494d640fcdf5931c34bd
parenta6fd09eca79d1626bba110fb2dc77c00a8eddf24
libcgrouptest: Move functions into a new file to reuse

From: Sudhir Kumar <skumar@linux.vnet.ibm.com>

There were some coding style warnings that have been fixed in this
patch. Basicaly the ones reported by checkpatch.pl

This patch puts the test functions in a separate file so that they
can be reused for further testing. Some of the functions were static
and hence changed to be non static. It also edits the Makefile so
that the patch compiles.

Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@309 4f4bb910-9a46-0410-90c8-c897d4f1cd53
tests/Makefile
tests/libcgrouptest.h
tests/libcgrouptest01.c
tests/test_functions.c [new file with mode: 0644]