0027667: OCAF binary persistence hangs on reading truncated CBF file
[occt.git] / tests / bugs / caf / bug24852
CommitLineData
bf4bf038 1puts "=========="
2puts "OCC24852"
3puts "=========="
4puts ""
5########################################################
6# Crash on storage of an Ocaf document in XML file format
7########################################################
8
9NewDocument D XmlOcaf
10
11set File ${imagedir}/bug24852_test.xml
12
13if { [catch {set res [SaveAs D ${File}]}] != 0 } {
14 puts "Error : Crash on storage of an Ocaf document in XML file format"
15} else {
16 puts "OK : Storage of an Ocaf document in XML file format is good"
17 file delete ${File}
18}