From 505740c99d4bb50bc18f46ae7c618c2de0f9a130 Mon Sep 17 00:00:00 2001 From: sebres Date: Thu, 27 Jun 2024 10:20:35 +0000 Subject: cmdAH.test: strengthening time64bit constraint (try to fix test failures [fd91b0ca09cb171f]), always prefer size of st_mtime if testsize available --- tests/cmdAH.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cmdAH.test b/tests/cmdAH.test index 526c261..0a3c76d 100644 --- a/tests/cmdAH.test +++ b/tests/cmdAH.test @@ -22,8 +22,8 @@ testConstraint testchmod [llength [info commands testchmod]] testConstraint testsetplatform [llength [info commands testsetplatform]] testConstraint testvolumetype [llength [info commands testvolumetype]] testConstraint time64bit [expr { - $::tcl_platform(pointerSize) >= 8 || - [llength [info command testsize]] && [testsize st_mtime] >= 8 + ([llength [info command testsize]] ? + [testsize st_mtime] : $::tcl_platform(pointerSize)) >= 8 }] testConstraint linkDirectory [expr { ![testConstraint win] || -- cgit v0.12