=================================================================== RCS file: /home/cvs/OpenXM/src/util/test.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- OpenXM/src/util/test.c 2003/12/01 03:15:37 1.4 +++ OpenXM/src/util/test.c 2003/12/03 03:21:16 1.5 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/util/test.c,v 1.3 2003/11/24 11:47:35 takayama Exp $ */ +/* $OpenXM: OpenXM/src/util/test.c,v 1.4 2003/12/01 03:15:37 takayama Exp $ */ #include #include "ox_pathfinder.h" @@ -10,8 +10,13 @@ sGC_malloc(int a) { main(int argc,char *argv[]) { char *s; if (argc != 2) { - fprintf(stderr,"test cmdname"); + fprintf(stderr,"test cmdname\n\n"); } + printf("%s\n",generateTMPfileName2("hoge","poly",0,0)); + printf("%s\n",generateTMPfileName2("hoge","poly",1,0)); + printf("%s\n",generateTMPfileName2("hoge","poly",0,1)); + printf("%s\n",generateTMPfileName2("hoge","poly",1,1)); + printf("---------------- getCommandPath ----------------\n"); printf("%s\n",getCommandPath(argv[1])); printf("%s (cyg) ==> %s (win)\n",argv[1],cygwinPathToWinPath(argv[1]));