summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx13
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psx13/psx13.scn3
-rw-r--r--testsuites/psxtests/psx13/test.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/testsuites/psxtests/psx13/psx13.scn b/testsuites/psxtests/psx13/psx13.scn
index 0194805536..428a9316a7 100644
--- a/testsuites/psxtests/psx13/psx13.scn
+++ b/testsuites/psxtests/psx13/psx13.scn
@@ -1,10 +1,9 @@
-
*** POSIX TEST 13 ***
Files initialized successfully.
Testing device_lseek()... Failed!!!
Testing dup()............ Failed!!!
-Testing dup2()........... Failed!!!
+Testing dup2()........... Success.
Testing fdatasync()...... Success.
Testing umask().......... Success.
Testing utime().......... Success.
diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c
index cc8b09e710..cda50fe1ab 100644
--- a/testsuites/psxtests/psx13/test.c
+++ b/testsuites/psxtests/psx13/test.c
@@ -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);