summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx13/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx13/test.c')
-rw-r--r--testsuites/psxtests/psx13/test.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c
index 10ff6bd5ca..cc8b09e710 100644
--- a/testsuites/psxtests/psx13/test.c
+++ b/testsuites/psxtests/psx13/test.c
@@ -415,9 +415,11 @@ int UTimeTest (void)
else
retval = FALSE;
}
-
else
retval = FALSE;
+
+ error = utime("testfile1.tst", NULL );
+ retval &= (error == 0) ? TRUE : FALSE;
}
/* assert (retval == TRUE);*/
@@ -563,6 +565,12 @@ int FPathConfTest (void)
error = fpathconf(fd, _PC_SYNC_IO);
error = fpathconf(fd, 255);
+ close(fd);
+
+ fd = open("testfile1.tst", O_WRONLY);
+
+ error = fpathconf(fd, _PC_LINK_MAX);
+
retval = TRUE;
}