Ticket #12173: macports-pextlib-tests.patch
File macports-pextlib-tests.patch, 1.5 KB (added by afb@…, 17 years ago) |
---|
-
src/pextlib1.0/tests/fs-traverse.tcl
199 199 } 200 200 201 201 proc setup_trees {root} { 202 global trees 202 global trees tcl_platform 203 203 204 204 array set trees {} 205 205 … … 235 235 $root/a/c/a {link ../d} 236 236 " 237 237 238 if {[string equal $tcl_platform(os) "Darwin"]} { 239 238 240 set trees(sub2) " 239 241 $root/a/c/a/ {link ../d} 240 242 $root/a/c/a//a file … … 242 244 $root/a/c/a//c directory 243 245 $root/a/c/a//d file 244 246 " 247 248 } else { 249 # see http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/fts.c#rev1.5 245 250 251 set trees(sub2) " 252 $root/a/c/a/ {link ../d} 253 $root/a/c/a/a file 254 $root/a/c/a/b {link ../../b/a} 255 $root/a/c/a/c directory 256 $root/a/c/a/d file 257 " 258 259 } 260 246 261 set trees(2) " 247 262 $root/a/a file 248 263 $root/a/b file -
src/pextlib1.0/tests/checksums.tcl
9 9 set testfile "/tmp/macports-pextlib-testchecksums" 10 10 file delete -force $testfile 11 11 12 encoding system utf-8 13 12 14 # create a dummy file. 13 15 set chan [open $testfile w] 14 16 puts $chan "Article premier"