diff options
author | Kevin B Kenny <kennykb@acm.org> | 2004-05-27 18:45:35 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2004-05-27 18:45:35 (GMT) |
commit | ea76d39f0ce53ab67f3af2edef1f5bb629a5afe6 (patch) | |
tree | 5a80e4a8ac1980d067afd84415809175667c8a19 /tests/clock.test | |
parent | 005fd8340ba1c93d1a405ab631915c207c0cd2c9 (diff) | |
download | tcl-ea76d39f0ce53ab67f3af2edef1f5bb629a5afe6.zip tcl-ea76d39f0ce53ab67f3af2edef1f5bb629a5afe6.tar.gz tcl-ea76d39f0ce53ab67f3af2edef1f5bb629a5afe6.tar.bz2 |
* tests/clock.test: Commented clock-9.1 that the test will fail
if strftime doesn't do %s.
Diffstat (limited to 'tests/clock.test')
-rw-r--r-- | tests/clock.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/clock.test b/tests/clock.test index 0bd8961..1c79c5a 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: clock.test,v 1.29 2004/05/27 18:28:44 kennykb Exp $ +# RCS: @(#) $Id: clock.test,v 1.30 2004/05/27 18:45:35 kennykb Exp $ set env(LC_TIME) POSIX @@ -513,6 +513,11 @@ testConstraint needPST [expr { && ([clock format 1 -format %s] != "%s") }] test clock-9.1 {%s gmt testing} {needPST} { + + # Note that this test will fail if the strftime on the underlying + # system doesn't support the %s format group. Systems that are known + # to have trouble include the native C libraries on AIX and HP-UX + # We need PST to guarantee the difference value below, and %s isn't # valid on all OSes (like Solaris). set s 100000 |