aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl84/files/patch-test-fCmd
blob: 04adaf1b7e2de48f77cd5107eee09c2ed54383f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Don't fail, when the tester's home directory (or any sub-path
thereof) is a symbolic link...

    -mi

--- ../tests/fCmd.test  Sun Mar 19 17:47:30 2006
+++ ../tests/fCmd.test  Tue Jun 27 14:13:53 2006
@@ -578,5 +578,5 @@
 } {1 {error copying "td2" to "~/td1/td2": permission denied}}
 test fCmd-6.26 {CopyRenameOneFile: doesn't use original name} \
-   {unixOnly notRoot} {
+   -constraints {unixOnly notRoot} -match regexp -body {
     cleanup
     file mkdir ~/td1/td2
@@ -587,5 +587,5 @@
     file delete -force ~/td1
     set msg
-} "1 {error copying \"~/td1\" to \"td1\": \"[file join [file dirname ~] [file tail ~] td1 td2]\": permission denied}"
+} -result "1 {error copying \"~/td1\" to \"td1\": \".*[file join td1 td2]\": permission denied}"
 test fCmd-6.27 {CopyRenameOneFile: TclpCopyDirectory failed} \
    {unixOnly notRoot xdev} {