version 1.3, 2013/02/20 07:53:44 |
version 1.4, 2013/02/21 07:30:56 |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include "sfile.h" |
#include "sfile.h" |
/* $OpenXM$ |
/* $OpenXM: OpenXM/src/hgm/mh/src/test1.c,v 1.3 2013/02/20 07:53:44 takayama Exp $ |
test of the --string mode |
test of the --string mode |
./test1 Testdata/tmp-idata2.txt >tt.xt |
./test1 Testdata/tmp-idata2.txt >tt.xt |
diff tt.txt Testdata/tmp-data2-out.txt |
diff tt.txt Testdata/tmp-data2-out.txt |
Line 43 main(int argc,char *argv[]) { |
|
Line 43 main(int argc,char *argv[]) { |
|
struct MH_RESULT *rp; |
struct MH_RESULT *rp; |
struct SFILE *sfp; |
struct SFILE *sfp; |
char *argv2[10]; |
char *argv2[10]; |
mh_exit(0x7fffffff); /* standalone mode */ |
mh_exit(MH_RESET_EXIT); /* standalone mode */ |
if (argc != 2) { mh_main(argc,argv); return(0);} |
if (argc != 2) { mh_main(argc,argv); return(0);} |
fp = fopen(argv[1],"r"); |
fp = fopen(argv[1],"r"); |
if (fp == NULL) { |
if (fp == NULL) { |