18151f1a |
1 | puts "REQUIRED All: DDocStd_Open : Error" |
2 | |
3 | puts "========" |
4 | puts "OCC27454" |
5 | puts "========" |
6 | puts "" |
7 | ################################################### |
8 | ## Application hangs while opening a non-OCAF XML file |
9 | ################################################### |
10 | |
11 | cpulimit 10 |
12 | |
6fe96f84 |
13 | set file [locate_data_file bug27454_test.xml] |
14 | catch {Open $file D -stream} msg |
18151f1a |
15 | |
16 | cpulimit |
17 | |
18 | if ![regexp {DDocStd_Open : Error} $msg] { |
19 | puts "Error: reader did not report an error reading the file of unknown format" |
20 | } |