Bug 256975 - devel/libfaketime: faketime(1) example doesnt run: Error: Timestamp to fake not recognized
Summary: devel/libfaketime: faketime(1) example doesnt run: Error: Timestamp to fake n...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-07-04 12:29 UTC by Li-Wen Hsu
Modified: 2021-07-05 00:08 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (koobs)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Li-Wen Hsu freebsd_committer 2021-07-04 12:29:20 UTC
faketime(1) doesn't work even with its example:

$ faketime '2008-12-24 08:15:42' /bin/date
date: illegal option -- d
usage: date [-jnRu] [-r seconds|file] [-v[+|-]val[ymwdHMS]]
            [-I[date | hours | minutes | seconds]]
            [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
Error: Timestamp to fake not recognized, please re-try with a different timestamp.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-05 00:08:07 UTC
@Reporter Please report upstream and include an upstream link in the See Also field once created. I can liaise with upstream accordingly.