# Add test to verify import
* Note: Each layer contains a valid name, but only one contains a link to the shape, so .step file contains only one valid Layer.
--- /dev/null
+puts "# ====================================================================="
+puts "# 0028345: Data Exchange - Reading STEP model using STEPCAF crashes"
+puts "# ====================================================================="
+puts ""
+
+pload DCAF
+ReadStep D_1 [locate_data_file bug28345_30338.stp]
+
+# Check imported names
+set info [XGetAllLayers D_1]
+if { [regexp "COMPONENTS" $info] != 1 } {
+ puts "Error : wrong layer name"
+}
+
+Close D_1