Commit 2f947bf9 authored by 's avatar
Browse files

workaround for dimapi

git-svn-id: file:///home/svn/mapi/trunk@870 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent f1716d8c
......@@ -67,6 +67,7 @@ DOT;
}
DOT;
if (!mapi_is_remote(fd)) {
printf("WHAT?!?!?!?!?\n");
if ((fd = mapi_create_offline_flow("/tmp/MAPI_TESTSUITE_DUMMY_TRACE" , MFF_PCAP))<0){
fprintf(stderr, "Could not create flow using '%s'\n", argv[1]);
mapi_read_error( &err_no, error);
......@@ -149,7 +150,9 @@ DOT;
fprintf(stderr,"Errorcode :%d description: %s \n" ,err_no, error);
return -1;
}
system("rm -f /tmp/MAPI_TESTSUITE_DUMMY_TRACE* /tmp/MAPI_TESTSUTE_ERROR_CASES*");
if (!mapi_is_remote(fd)) {
system("rm -f /tmp/MAPI_TESTSUITE_DUMMY_TRACE* /tmp/MAPI_TESTSUTE_ERROR_CASES*");
}
if (!flag) {
printf("\nTO_FILE Error Checking OK\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment