freebsd-ports/devel/tcllib/files/patch-tests
Mikhail Teterin fba77ec01f Sort-out regression-test failures. Provide fixes for all of them except one
(multiplexer), which shall remain disabled until upstream figures it out.
2015-05-28 01:17:33 +00:00

32 lines
1.1 KiB
Text

Submitted upstream:
http://core.tcl.tk/tcllib/tktview/ea3f40b29fdc42ccc7d3429ec6746400643aaf4a
--- modules/clock/iso8601.test 2014-02-11 14:04:18.000000000 -0500
+++ modules/clock/iso8601.test 2014-12-09 00:12:22.000000000 -0500
@@ -27,5 +27,5 @@
test clock-iso8601-1.1 {parse_date, bad option} -body {
clock::iso8601 parse_date 1994-11-05 -foo x
-} -returnCodes error -result {bad switch "-foo", must be -base, -format, -gmt, -locale or -timezone}
+} -returnCodes error -match regexp -result {^bad (option|switch) "-foo"}
# NOTE: While listed as legal, -format is NOT. This is because the
This awaits fix:
http://core.tcl.tk/tcllib/tktview/ced089d5fec86a1b4722ffbd93810820ccc06845
--- modules/multiplexer/multiplexer.test 2015-04-30 00:21:20 -0400
+++ modules/multiplexer/multiplexer.test 2015-05-27 18:58:34 -0400
@@ -190,5 +190,5 @@
}
-test multiplexer-5.2 {add access filter which denies access} {
+test multiplexer-5.2 {add access filter which denies access} -body {
set ::forever {}
set mp [multiplexer::create]
@@ -208,5 +208,5 @@
${mp}::destroy
set result
-} {socket blocked}
+} -result {socket blocked} -constraints knownBug