NetBSD-Bugs archive

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

misc/56526: Confusing ATF output when system clock is wrong



>Number:         56526
>Category:       misc
>Synopsis:       Confusing ATF output when system clock is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 13:15:00 +0000 2021
>Originator:     Andreas Gustafsson
>Release:        NetBSD 9.2
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

If you run the ATF tests with the system clock set to a time in the
past, before the modification time of /bin/sh, it results in the
usr.bin/make/t_make:meta_cmd_cmp test case failing, but no other
test failures or messages.

It would be helpful if a more specific diagnostic could be issued to
point the user at the actual problem, for example by adding a test
that specifically checks if /bin/sh or other system files are from
the future.

>How-To-Repeat:

date 200001010000
cd /usr/tests
time atf-run | atf-report

>Fix:



Home | Main Index | Thread Index | Old Index