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:
19
tests/bugs/modalg/bug23606
Executable file
19
tests/bugs/modalg/bug23606
Executable 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
|
Reference in New Issue
Block a user