0030439: Visualization - extend fonts search within Font_FontMgr::FindFont() on Linux
[occt.git] / tests / demo / draw / binpersist_1
index 286b958..a88cfa6 100644 (file)
@@ -2,7 +2,7 @@
 
 pload TOPTEST
 
-set file binpersist.bin
+set file $imagedir/${casename}.bin
 
 box b 10 20 30 100 200 300
 
@@ -12,7 +12,7 @@ if [regexp "Cannot write to the file $file" [binsave b $file]] {
   puts "Error: binrestore"
 } else {
   file delete $file
-  if {[bounding b] != [bounding bb]} {
+  if {[bounding b -dump] != [bounding bb -dump]} {
     puts "Error: restored shape has another bounding box"
   }
   checkshape bb