1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/lang/tcl86/files/patch-tests-fCmd.test
Martin Matuska c570411273 - updated to 8.5a6
- added WITH(OUT)_TZDATA option (installs tcl timezone data, default off)

Approved by:	garga (mentor)
2007-04-30 12:52:29 +00:00

21 lines
873 B
Plaintext

--- ../tests/fCmd.test.orig Mon Nov 13 20:46:35 2006
+++ ../tests/fCmd.test Sun Apr 29 21:31:35 2007
@@ -572,7 +572,7 @@
set msg
} {1 {error copying "td2" to "~/td1/td2": permission denied}}
test fCmd-6.26 {CopyRenameOneFile: doesn't use original name} \
- {unix notRoot} {
+ -constraints {unixOnly notRoot} -match regexp -body {
cleanup
file mkdir ~/td1/td2
set td2name [file join [file dirname ~] [file tail ~] td1 td2]
@@ -581,7 +581,7 @@
file attributes $td2name -permissions 0755
file delete -force ~/td1
set msg
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join $::env(HOME) td1 td2]\": permission denied}"
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join $::env(HOME) td1 td2]\": permission denied}"
test fCmd-6.27 {CopyRenameOneFile: TclpCopyDirectory failed} \
{unix notRoot xdev} {
cleanup /tmp