From 0889af09902b654bc76180b1d27ed6e2c372b79a Mon Sep 17 00:00:00 2001 From: Dhaval Giani Date: Mon, 22 Dec 2008 18:55:33 +0000 Subject: libcgroup: adds warning messages in libcgroup testcases From: Sudhir Kumar This patch adds few more warning messages in the message pool Signed-off-by: Sudhir Kumar Signed-off-by: Dhaval Giani git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@285 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- tests/libcgrouptest01.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c index b0a9bd9..468a3aa 100644 --- a/tests/libcgrouptest01.c +++ b/tests/libcgrouptest01.c @@ -1349,36 +1349,42 @@ void set_info_msgs() " groups\n", SIZE); break; case 7: + strncpy(info[k], " group found in filesystem\n", SIZE); + break; + case 8: + strncpy(info[k], " group not in filesystem\n", SIZE); + break; + case 9: strncpy(info[k], " group found under both" " controllers\n", SIZE); break; - case 8: + case 10: strncpy(info[k], " group not found under" " second controller\n", SIZE); break; - case 9: + case 11: strncpy(info[k], " group not found under" - " any controller\n", SIZE); + " first controller\n", SIZE); break; - case 10: + case 12: strncpy(info[k], " group modified under" " both controllers\n", SIZE); break; - case 11: + case 13: strncpy(info[k], " group not modified under" " second controller\n", SIZE); break; - case 12: + case 14: strncpy(info[k], " group not modified under" " any controller\n", SIZE); break; - case 13: + case 15: strncpy(info[k], " Group deleted from fs\n", SIZE); break; - case 14: + case 16: strncpy(info[k], " Group not deleted from fs\n", SIZE); break; - case 15: + case 17: strncpy(info[k], " Group not deleted globaly\n", SIZE); break; /* In case there is no extra info messages to be printed */ -- cgit