mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
23 lines
488 B
Plaintext
Executable File
23 lines
488 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC23306: F a i l u r e s reading some attributes of BinOcaf document"
|
|
puts "============"
|
|
puts ""
|
|
|
|
set BugNumber OCC23306
|
|
|
|
NewDocument D1 BinOcaf
|
|
SetExtStringArray D1 0:1:1 0 1 3 String1 String2 String3
|
|
|
|
set aTmpFile ${imagedir}/${casename}.cbf
|
|
SaveAs D1 $aTmpFile
|
|
Close D1
|
|
set warn [Open $aTmpFile D2]
|
|
set info [lsearch $warn "warning:"]
|
|
file delete -force ${aTmpFile}
|
|
|
|
if { $info == -1 } {
|
|
puts "OK ${BugNumber}"
|
|
} else {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|