diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:55:33 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:55:33 +0000 |
commit | 0889af09902b654bc76180b1d27ed6e2c372b79a (patch) | |
tree | 686bc0fafe9e8f782dd6e8584eac7bb48b9d4cc2 | |
parent | 47197d3d7ca88abf7566951726212fdb7d9702ff (diff) | |
download | libcg-0889af09902b654bc76180b1d27ed6e2c372b79a.tar.gz libcg-0889af09902b654bc76180b1d27ed6e2c372b79a.tar.xz libcg-0889af09902b654bc76180b1d27ed6e2c372b79a.zip |
libcgroup: adds warning messages in libcgroup testcases
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
This patch adds few more warning messages in the message pool
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@285 4f4bb910-9a46-0410-90c8-c897d4f1cd53
-rw-r--r-- | tests/libcgrouptest01.c | 24 |
1 files 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 */ |