1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/xde/bug21802
kgv 30fa5f6713 0032705: Test - name clashes within temporary files within bugs/caf/bug23766_X
Several test cases writing temporary files have been corrected.
2021-12-02 21:14:57 +03:00

25 lines
615 B
Plaintext

puts "=========="
puts "OCC21802: Not all names are transferred from STEP to IGES via XDE"
puts "=========="
puts ""
ReadStep d [locate_data_file bug21802_as1-oc-214.stp]
set aTmpFile ${imagedir}/${casename}.igs
WriteIges d $aTmpFile
set is21802fixed "FALSE"
set file21802 [open $aTmpFile RDONLY]
while {[eof $file21802] == 0} {
set file21802line [string trim [gets $file21802]]
if {[string first "l-bracke" $file21802line] != -1} {
set is21802fixed "TRUE"
}
}
close $file21802
file delete -force ${aTmpFile}
if {[string compare $is21802fixed "FALSE"] == 0} {
puts "ERROR: OCC21802 is reproduced"
}