summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest01.c
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2008-12-17 15:23:42 +0000
committerBalbir Singh <balbir@linux.vnet.ibm.com>2008-12-17 15:23:42 +0000
commit1f80116482b1f158838d690c9a4f2989818769bc (patch)
tree2544192bed5077418a74847bf2dd7cdb581ab683 /tests/libcgrouptest01.c
parentd10cb56372f8da86ef11dba376c40b61aef5fa49 (diff)
downloadlibcg-1f80116482b1f158838d690c9a4f2989818769bc.tar.gz
libcg-1f80116482b1f158838d690c9a4f2989818769bc.tar.xz
libcg-1f80116482b1f158838d690c9a4f2989818769bc.zip
libcgroup Test: add message
This patch fixes the NUM_MSGS error which was still 10, however there are more type of messages to be printed. It also adds the support to just print a new line in case there is no message to be printed. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@279 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest01.c')
-rw-r--r--tests/libcgrouptest01.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c
index 07bb543..766dc98 100644
--- a/tests/libcgrouptest01.c
+++ b/tests/libcgrouptest01.c
@@ -1361,6 +1361,9 @@ void set_info_msgs()
case 15:
strncpy(info[k], " Group not deleted globaly\n", SIZE);
break;
+ case 19:
+ strncpy(info[k], " \n", SIZE);
+ break;
/* Add more messages here and change NUM_MSGS */
default:
break;