@@ Tcl 8.4.14
@@ MatchTests *
@@ SkipFiles l.*.test
@@ MatchFiles *.test
@@ Start 1159368646
@@ Module fileutil
@@ Testsuite modules/fileutil/fileutil.test
- tcllib::testutils 1.1
- cmdline 1.2.5
* fileutil 1.9]
...
==== install-2.1 install a directory FAILED
==== Contents of test case:
list [catch {
fileutil::install [file join installSrc subdir]
installDst
set result [lsort [glob -tails -directory [file
join installDst subdir] [file join . / *]]]
file delete -force installDst
set result
} err] $err
---- Result was:
0 {/subfile1 /subfile2 /subfile3}
---- Result should have been (exact matching):
0 {subfile1 subfile2 subfile3}
==== install-2.1 FAILED
---- install-2.2 start
==== install-2.2 install a directory FAILED
==== Contents of test case:
list [catch {
fileutil::install [file join installSrc subdir]
installDst
set result [lsort [glob -directory [file join
installDst subdir] [file join . / *]]]
file delete -force installDst
set result
} err] $err
---- Result was:
0 {installDst/subdir//subfile1
installDst/subdir//subfile2 installDst/subdir//subfile3}
---- Result should have been (exact matching):
0 {installDst/subdir/subfile1
installDst/subdir/subfile2 installDst/subdir/subfile3}
==== install-2.2 FAILED
Logged In: YES
user_id=75003
Platform ?
Logged In: YES
user_id=80530
Linux/Alpha and Solaris
Logged In: YES
user_id=75003
Ok, while I have no access to a Linux/Alpha box a Solaris
box is at hand.
Logged In: YES
user_id=75003
Hm. I am on a solaris 2.6 box, and cannot repro these
failures. The testsuite runs fine.
Logged In: YES
user_id=80530
dgp % glob *
foo
% glob -dir . /foo
.//foo
[11:26] dgp Is that broken?
Logged In: YES
user_id=80530
The use of [file join . / *]
in these tests is suspect.
Perhaps it's combining with
[glob] and [file] bugs here?
What's intended by these tests?
Logged In: YES
user_id=75003
The glob outout (.//foo) certainly looks broken. If this is
the expected output and the intentation of thests. I don't
know. They test the 'fileutil::install' command ... Written
by David Welton in 2003. So he should be able to get us
better answers. He is 'davidw' here, we could reassign this
to him.
Logged In: YES
user_id=80530
ok, at least one relevant issue
is a [glob] bug fix apparently
not backported to 8.4.
% info patch
8.5a5
% glob *
foo
% glob -dir . /foo
./foo
Logged In: YES
user_id=80530
see 1569042
Logged In: YES
user_id=75003
Originator: NO
Heh. I just ran into these test failures again, I think. Ok on Linux, failed on Windows.
Will try to understand what is done and wanted.