initial commit
[jalview.git] / forester / archive / RIO / others / hmmer / squid / test_main.c
1 /* Test of the file.c functions
2  * cp to ../test_main.c and "make test".
3  * Usage: ./test <env> <file>
4  */
5
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include "squid.h"
9
10 int
11 main(int argc, char **argv)
12 {
13   char *env;
14   char *file;
15   FILE *fp;
16   
17   env = argv[1];
18   file = argv[2];
19
20   fp = EnvFileOpen(file, env);
21   if (fp != NULL) printf("File open succeeded\n");
22   else            printf("File open FAILED\n");
23
24   return 0;
25 }