diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:22:50 +0000 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:22:50 +0000 |
commit | ed931c233d9b4d8064ec0a7176b309b5643b6271 (patch) | |
tree | 61c4da2c6102312e6c04ca4e81a03142be774b7d /COPYING | |
parent | d335dc3def8568d7b2518d4c037cdce89da4ee29 (diff) | |
download | libcg-ed931c233d9b4d8064ec0a7176b309b5643b6271.tar.gz libcg-ed931c233d9b4d8064ec0a7176b309b5643b6271.tar.xz libcg-ed931c233d9b4d8064ec0a7176b309b5643b6271.zip |
libcgroup Test: address earlier comments
This patch addresses the comments on testcases sent earlier.
Some of the corrections have been made in the coming patches which create
functions to test an api under different scenarios. The simple reason behind
that is to avoid the patches that contain only noise. For ex const strn* warnings.
I got one of the comments from Balbir Singh
"I wonder if we should also verify the
cgroup_modify_cgroup() changes by reading back the values using
cgroup_get_cgroup()"
I have not used this approach for now because of two reasons(however it would
have made life easy for me :))
1. In case cgroup_get_cgroup() fails, cgroup_modify_cgroup() test also will fail.
2. If cgroup_get_cgroup() becomes deprecated or dropped, then the testcase will
become obsolete. However I am still open to the idea. Your thoughts again??
Second comment was
"Each test case needs to be an induvidual function (can be called
from threads or other processes via a library interface)"
And the coming patches do that.
The next imp comment for me was
"I'll try and find a good test case infrastructure, if one exists
that can meet our needs."
I am eager to see some tool like that.
TODO:
Removing the hard coding of control values using config file is under progress
Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@277 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions