Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Test refinement. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dirSymlinks |
Files: | files | file ages | folders |
SHA1: |
0751dbe2dac03793f94a30dda3e9c03e |
User & Date: | mistachkin 2016-10-03 21:12:27 |
Context
2016-10-03
| ||
21:27 | Further test refinements. check-in: 596bbe34 user: mistachkin tags: dirSymlinks | |
21:12 | Test refinement. check-in: 0751dbe2 user: mistachkin tags: dirSymlinks | |
20:43 | Initial draft of new tests to cover the directory symlink fixes. check-in: 7cefd41a user: mistachkin tags: dirSymlinks | |
Changes
Changes to test/symlinks.test.
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
test symlinks-dir-8 {[file exists [file join $rootDir symdirA f1.txt]] eq 0} test symlinks-dir-9 {[file exists [file join $rootDir subdirA f2.txt]] eq 1} test symlinks-dir-10 {[file exists [file join $rootDir symdirA f2.txt]] eq 1} ############################################################################### fossil open $repository test symlinks-dir-11 {[file readlink [file join $rootDir symdirA]] eq \ [file join $rootDir subdirA]} test symlinks-dir-12 {[file exists [file join $rootDir subdirA f1.txt]] eq 1} test symlinks-dir-13 {[file exists [file join $rootDir symdirA f1.txt]] eq 1} test symlinks-dir-14 {[file exists [file join $rootDir subdirA f2.txt]] eq 1} test symlinks-dir-15 {[file exists [file join $rootDir symdirA f2.txt]] eq 1} ############################################################################### # # TODO: Add tests for symbolic links as files here, including tests with the # "allow-symlinks" setting on and off. # ############################################################################### test_cleanup |
> | | < | | | | |
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
test symlinks-dir-8 {[file exists [file join $rootDir symdirA f1.txt]] eq 0} test symlinks-dir-9 {[file exists [file join $rootDir subdirA f2.txt]] eq 1} test symlinks-dir-10 {[file exists [file join $rootDir symdirA f2.txt]] eq 1} ############################################################################### fossil open $repository set code [catch {file readlink [file join $rootDir symdirA]} result] test symlinks-dir-11 {$code == 0} test symlinks-dir-12 {$result eq [file join $rootDir subdirA]} test symlinks-dir-13 {[file exists [file join $rootDir subdirA f1.txt]] eq 1} test symlinks-dir-14 {[file exists [file join $rootDir symdirA f1.txt]] eq 1} test symlinks-dir-15 {[file exists [file join $rootDir subdirA f2.txt]] eq 1} test symlinks-dir-16 {[file exists [file join $rootDir symdirA f2.txt]] eq 1} ############################################################################### # # TODO: Add tests for symbolic links as files here, including tests with the # "allow-symlinks" setting on and off. # ############################################################################### test_cleanup |