summaryrefslogtreecommitdiffstats
path: root/tests/zipfs.test
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2017-11-07 18:45:24 (GMT)
committerhypnotoad <yoda@etoyoc.com>2017-11-07 18:45:24 (GMT)
commit338e92cb28bb8cc4d6dac152cf24593323d293bb (patch)
tree9b462c8cd799cf56d6bbe3d931da57f784d08d81 /tests/zipfs.test
parent433dff0c1413aa1ca03a2bc29c5d7c4fc2865402 (diff)
downloadtcl-338e92cb28bb8cc4d6dac152cf24593323d293bb.zip
tcl-338e92cb28bb8cc4d6dac152cf24593323d293bb.tar.gz
tcl-338e92cb28bb8cc4d6dac152cf24593323d293bb.tar.bz2
Updated the zipfs portion of the testsuite to tip430 standards
Diffstat (limited to 'tests/zipfs.test')
-rw-r--r--tests/zipfs.test17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/zipfs.test b/tests/zipfs.test
index adacbde..2aea3bf 100644
--- a/tests/zipfs.test
+++ b/tests/zipfs.test
@@ -17,9 +17,10 @@ if {"::tcltest" ni [namespace children]} {
testConstraint zipfs [expr {[llength [info commands zlib]] && [regexp tcltest [info nameofexecutable]]}]
-test zipfs-1.1 {zipfs basics} -constraints zipfs -body {
- load {} zipfs
-} -result {}
+# Removed in tip430 - zipfs is no longer a static package
+#test zipfs-1.1 {zipfs basics} -constraints zipfs -body {
+# load {} zipfs
+#} -result {}
test zipfs-1.2 {zipfs basics} -constraints zipfs -body {
package require zipfs
@@ -66,18 +67,18 @@ test zipfs-2.2 {zipfs mkzip} -constraints zipfs -body {
set pwd [pwd]
cd $tcl_library/encoding
zipfs mkzip abc.zip .
- zipfs mount abc.zip /abc
- zipfs list -glob /abc/cp850.*
+ zipfs mount abc.zip zipfs:/abc
+ zipfs list -glob zipfs:/abc/cp850.*
} -cleanup {
cd $pwd
-} -result {/abc/cp850.enc}
+} -result {zipfs:/abc/cp850.enc}
test zipfs-2.3 {zipfs unmount} -constraints zipfs -body {
- zipfs info /abc/cp850.enc
+ zipfs info zipfs:/abc/cp850.enc
} -result [list $tcl_library/encoding/abc.zip 1090 527 39434]
test zipfs-2.4 {zipfs unmount} -constraints zipfs -body {
- set f [open /abc/cp850.enc]
+ set f [open zipfs:/abc/cp850.enc]
read $f
} -result {# Encoding file: cp850, single-byte
S