Skip to content
Tcl Source Code View Ticket
Login

View Ticket

zipfs failed tests

Closed / Fixed3f9f494cc160472aaf0386e403704a3ab7dbc554Created 3 years agoUpdated 3 years ago
Descriptionplain2023-09-15 16:22:37
==== zipfs-file-stat-file Read stat of file FAILED
==== Contents of test case:

        lsort -stride 2 [file stat [file join $defaultMountPoint test]]
    
---- Result was:
atime 1065469602 blksize 0 blocks 0 ctime 1065469602 dev 0 gid 0 ino 0 mode 33133 mtime 1065469602 nlink 0 size 5 type file uid 0
---- Result should have been (exact matching):
atime 1065435402 blksize 0 blocks 0 ctime 1065435402 dev 0 gid 0 ino 0 mode 33133 mtime 1065435402 nlink 0 size 5 type file uid 0
==== zipfs-file-stat-file FAILED



==== zipfs-file-stat-dir Read stat of dir FAILED
==== Contents of test case:

        lsort -stride 2 [file stat [file join $defaultMountPoint testdir]]
    
---- Result was:
atime 1105488234 blksize 0 blocks 0 ctime 1105488234 dev 0 gid 0 ino 0 mode 16749 mtime 1105488234 nlink 0 size 0 type directory uid 0
---- Result should have been (exact matching):
atime 1105450434 blksize 0 blocks 0 ctime 1105450434 dev 0 gid 0 ino 0 mode 16749 mtime 1105450434 nlink 0 size 0 type directory uid 0
==== zipfs-file-stat-dir FAILED
Referenced by6
apnadkarniplain2023-09-15 17:14:43
Hrrmph. Wondered why it passes on both my Windows and Ubuntu systems. But of course they are in the same time zone so the test needs to be generalized.

Disabled the tests for the moment.
apnadkarnimarkdown2023-09-17 04:53:20

Fixed in [c826ea98fa]. Map test result wrt localtime.

Log in (anonymous is fine) to add a comment.