1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0023606: Invalid result of pipe operation

This commit is contained in:
skv
2012-12-21 16:16:21 +04:00
parent bf0ba8139a
commit 46e68e02e3
3 changed files with 334 additions and 2 deletions

19
tests/bugs/modalg/bug23606 Executable file
View File

@@ -0,0 +1,19 @@
puts "============"
puts "OCC23606"
puts "============"
puts ""
#######################################################################
# Invalid result of pipe operation
#######################################################################
restore [locate_data_file bug23606_base.brep] sh
restore [locate_data_file bug23606_path.brep] w
pipe result w sh
set n [llength [explode result f]]
if { ${n} != 10 } {
puts "Error : bad number of faces"
}
# Service parameters
set mass -0.1
set m -0.1