NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/58573: libarchive tests fail when /tmp is mounted noatime



>Number:         58573
>Category:       lib
>Synopsis:       libarchive tests fail when /tmp is mounted noatime
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 15:20:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, ...
>Organization:
The netbsdtar Foundnoatime
>Environment:
>Description:
test_write_disk_times

/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:55: File file1 has atime 1723297613.000000000, expected 123456.000000000
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:82: File file3 has atime 1723297613.000000000, expected 345678.000000000
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_times.c:162: SKIPPING: Platform-specific time restore tests


test_read_disk_directory_traversals

/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1131: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1191: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1193: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1195: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1197: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1240: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1242: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1244: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1246: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1294: File at has atime 1723297596.000000000, expected 886622.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1296: File at/f1 has atime 1723297596.000000000, expected 886600.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1298: File at/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1300: File at/fe has atime 1723297596.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/home/riastradh/netbsd/current/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1592: File nd/f2 has atime 1723297596.000000000, expected 886611.000000000
   Description: Atime should be restored

>How-To-Repeat:
cd /usr/tests/lib/libarchive && atf-run | atf-report
>Fix:
Yes, please!



Home | Main Index | Thread Index | Old Index