summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1999-06-26 22:29:06 (GMT)
committerrjohnson <rjohnson>1999-06-26 22:29:06 (GMT)
commit9ac9b8135f79c42b54dcb69d71659e33527080e6 (patch)
tree5d7a874e2a54768006c84b8d75b8982ad1cf5b59
parentcabe0c5ecca2104cf8533ffc091cba9d24b8ceaa (diff)
downloadtcl-9ac9b8135f79c42b54dcb69d71659e33527080e6.zip
tcl-9ac9b8135f79c42b54dcb69d71659e33527080e6.tar.gz
tcl-9ac9b8135f79c42b54dcb69d71659e33527080e6.tar.bz2
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.
-rw-r--r--tests/string.test8
1 files 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} {