2010-08-06 Bharath Suri <bharath.s.jois@gmail.com>

PR 1654/testing
	* psx13/test.c, psx13/psx13.scn: Test case to improve testing of
	dup2 routine.
	* psxfile01/test.c, psxfile01/psxfile01.scn: New test to improve
	testing of fcntl routine.
	* psximfs01/init.c, psximfs01/psximfs01.scn: Improve testing of
	imfs routines.
	* psximfs02/init.c, psximfs02/psximfs02.scn: Improve coverage of
	imfs routines.
	* psxpasswd02/init.c, psxpasswd02/psxpasswd02.scn: New tests to
	improve coverage of getpwent.c.
This commit is contained in:
Joel Sherrill
2010-08-07 00:22:46 +00:00
parent 39a056b8a1
commit 99e6fb5244
11 changed files with 89 additions and 13 deletions

View File

@@ -142,7 +142,7 @@ int DeviceLSeekTest (void)
else
retval = FALSE;
/* assert (retval == TRUE);*/
close( fd ); /* assert (retval == TRUE);*/
return (retval);
}
@@ -187,6 +187,8 @@ int DupTest(void)
else
retval = FALSE;
close( fd1 );
close( fd2 );
/* assert (retval == TRUE);*/
return (retval);
@@ -257,7 +259,7 @@ int Dup2Test(void)
}
close (fd1);
close (fd2);
/* assert (retval == TRUE);*/
return (retval);