summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxfile02/test.c
blob: 282a8209d06d525d0daa8880a220e11a6eb38d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 *  Simple test program to exercise some of the basic functionality of 
 *  POSIX Files and Directories Support.
 *
 *  This test assumes that the file system is initialized with the 
 *  following directory structure:
 *
 *  XXXX fill this in.
 *    /
 *    /dev
 *    /dev/XXX   [where XXX includes at least console]
 *
 *
 */

#include <stdio.h>

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>

#include <assert.h>

/*
 *  Main entry point of the test
 */

#if defined(__rtems__)
int test_main(void)
#else
int main(
  int argc,
  char **argv
)
#endif
{
  printf( "\n\n*** FILE TEST 2 ***\n" );

  /*
   *  XXX test code goes here
   */

  printf( "*** END OF FILE TEST 2 ***\n" );
  exit( 0 );
}