forked from Imagelibrary/rtems
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user