Bug 210785 - usr.bin/lastcomm and usr.sbin/sa tests should not test for hardcoded dates
Summary: usr.bin/lastcomm and usr.sbin/sa tests should not test for hardcoded dates
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-testing mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-03 17:58 UTC by Enji Cooper
Modified: 2018-01-08 04:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2016-07-03 17:58:32 UTC
Both the lastcomm and sa tests test for hardcoded dates. IMHO (and others) this wort should be removed and replaced with something that doesn't contain hardcoded date information.

Using epoch time (if possible) might be better, but I need to do more investigation into the subsystem before I can propose an official solution.
Comment 1 Glen Barber freebsd_committer 2016-08-08 15:47:03 UTC
Any update on this?
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-01-08 04:14:25 UTC
For the following conditions
Product: Base System, Documentation Status: New, Open, In Progress, UNCONFIRMED 
Assignee: Former FreeBSD committer 

Reset to default assignee. Reset status to "Open".