Update of testing cases for current state of OCCT
authorbugmaster <bugmaster@opencascade.com>
Mon, 29 Apr 2013 12:13:25 +0000 (16:13 +0400)
committerbugmaster <bugmaster@opencascade.com>
Mon, 29 Apr 2013 12:13:25 +0000 (16:13 +0400)
src/QABugs/QABugs_11.cxx
tests/bugs/xde/bug7141

index 1f73e00..aaab1ab 100755 (executable)
@@ -2739,10 +2739,6 @@ static Standard_Integer OCC7141 (Draw_Interpretor& di, Standard_Integer argc, co
   }
   di << argv[0] << " : Finish" << "\n";
   
-  if( remove("TestExportStructure.step") != 0 ) {
-     perror( "Error deleting file" );
-  }
-
   return 0;
 }
 
index 1d8b40e..4f42eb7 100755 (executable)
@@ -9,10 +9,11 @@ puts ""
 pload QAcommands
 
 set BugNumber OCC7141
+set aFile ${imagedir}/TestExportStructure.step
+file delete -force ${aFile}
 
-file delete ${imagedir}/TestExportStructure.step
 set nCount 20
-if [catch { set List [OCC7141 ${nCount} ${imagedir}/TestExportStructure.step] } result] {
+if [catch { set List [OCC7141 ${nCount} ${aFile}] } result] {
    puts "${BugNumber}: Faulty"
 } else {
    puts "${BugNumber}: OK"