The following patch fixes testcases/kernel/syscalls/creat/creat08.c just like the previous one for open10.c.

Regards.

Elder.
--- creat08.c.ORIG	2007-10-19 08:08:38.000000000 -0200
+++ creat08.c	2008-09-23 17:25:18.000000000 -0300
@@ -131,8 +131,11 @@
 		 * Get the group IDs of group1 and group2. 
 		 */
 		if ((group = getgrnam("nobody")) == NULL) {
-			tst_resm(TBROK, "nobody not in /etc/group");
-			tst_exit();
+			if ((group = getgrnam("nogroup")) == NULL) 
+			{
+				tst_resm(TBROK, "nobody/nogroup not in /etc/group");
+				tst_exit();
+			}
 		}
 		group1_gid = group->gr_gid;
 		if ((group = getgrnam("bin")) == NULL) {
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to