summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx13/test.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psx13/test.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c
index eceb696907..10ff6bd5ca 100644
--- a/testsuites/psxtests/psx13/test.c
+++ b/testsuites/psxtests/psx13/test.c
@@ -11,7 +11,6 @@
* fsync - test implemented
* pathconf - test implemented
* fpathconf - test implemented
- * pipe - test implemented
* umask - test implemented
* utime - test implemented
* utimes - test implemented
@@ -46,8 +45,6 @@ int FDataSyncTest(void);
int UMaskTest(void);
int UTimeTest(void);
int UTimesTest(void);
-int PipeTest(void);
-int PipeTestNull(void);
int PathConfTest(void);
int FPathConfTest(void);
int FSyncTest(void);
@@ -489,52 +486,6 @@ int UTimesTest (void)
}
/* ---------------------------------------------------------------
- * PipeTest function
- *
- * Hits the pipe code.
- *
- * arguments: none
- * assumptions: pipe function available.
- * actions: call pipe.
- *
- * returns: TRUE if pipe returns ENOSYS,
- * FALSE otherwise.
- *
- * ---------------------------------------------------------------
- */
-
-int PipeTest (void)
-{
- int error = 0, retval = FALSE;
- int fd[2];
-
- error = pipe(fd);
-
- if ((error == -1) && (errno == ENOSYS))
- retval = TRUE;
- else
- retval = FALSE;
-
- /* assert (retval == TRUE);*/
-
- return(retval);
-}
-
-int PipeTestNull (void)
-{
- int error = 0, retval = FALSE;
-
- error = pipe(NULL);
-
- if ((error == -1) && (errno == ENOSYS))
- retval = TRUE;
- else
- retval = FALSE;
-
- return(retval);
-}
-
-/* ---------------------------------------------------------------
* PathConfTest function
*
* Hits the pathconf code.
@@ -731,18 +682,6 @@ int main(
else
printf ("Failed!!!\n");
- printf ("Testing pipe()........... ");
- if (PipeTest() == TRUE)
- printf ("Success.\n");
- else
- printf ("Failed!!!\n");
-
- printf ("Testing pipe() with NULL........... ");
- if (PipeTestNull() == TRUE)
- printf ("Success.\n");
- else
- printf ("Failed!!!\n");
-
printf ("Testing fsync().......... ");
if (FSyncTest() == TRUE)
printf ("Success.\n");