5 ############################################################
6 # Shape orientation processing mechanism redesign
7 ############################################################
9 # test to check compatibility of old cbf format
11 Open [locate_data_file bug23766_ttt1_old.cbf] D
13 GetShape D 0:1:2:1:2 E1
17 if { [regexp "FORWARD" $info1] != 1 } {
18 puts "Error: orientation of E1 is incorrect"
20 puts "OK: orientation of E1 is correct"
23 GetShape D 0:1:3:1:2 E2
27 if { [regexp "REVERSED" $info2] != 1 } {
28 puts "Error: orientation of E2 is incorrect"
30 puts "OK: orientation of E2 is correct"