Adjusting bugs group for current state of OCCT
[occt.git] / tests / bugs / moddata / bug5696
diff --git a/tests/bugs/moddata/bug5696 b/tests/bugs/moddata/bug5696
new file mode 100644 (file)
index 0000000..a8abf8a
--- /dev/null
@@ -0,0 +1,21 @@
+pload QAcommands
+
+puts "================"
+puts "OCC5696"
+puts "================"
+puts ""
+#######################################################################################
+# Exception in BRepAdaptor_CompCurve due to uninitialised variable CurIndex
+#######################################################################################
+
+set BugNumber OCC5696
+
+set info_result [OCC5696]
+set index [string compare ${info_result} "par_edge = 1\n"]
+if {$index != 0} {
+    puts "Faulty ${BugNumber}"
+} else {
+    puts "OK ${BugNumber}"
+}
+
+