From 9ac9b8135f79c42b54dcb69d71659e33527080e6 Mon Sep 17 00:00:00 2001 From: rjohnson Date: Sat, 26 Jun 1999 22:29:06 +0000 Subject: Marked on of the string tests non-portable. IRIX thinks that .e1 is a valid double - the spec and most other UNIX systems do not think it's valid. --- tests/string.test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/string.test b/tests/string.test index cb91f9c..64df37b 100644 --- a/tests/string.test +++ b/tests/string.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: string.test,v 1.16 1999/06/26 20:55:13 rjohnson Exp $ +# RCS: @(#) $Id: string.test,v 1.17 1999/06/26 22:29:06 rjohnson Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -361,7 +361,11 @@ test string-6.38 {string is double, false on underflow} { catch {unset var} list [string is double -fail var 123e-9999] $var } {0 -1} -test string-6.39 {string is double, false} { +test string-6.39 {string is double, false} {nonPortable} { + # This test is non-portable because IRIX thinks + # that .e1 is a valid double - this is really a bug + # on IRIX as .e1 should NOT be a valid double + list [string is double -fail var .e1] $var } {0 0} test string-6.40 {string is false, true} { -- cgit v0.12