File: README

package info (click to toggle)
datefudge 1.27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 84 kB
  • sloc: sh: 88; ansic: 87; makefile: 68
file content (20 lines) | stat: -rw-r--r-- 930 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This preload library and program implements a cheap way to fake a Linux
program into believing that the clock is set to Something Else.

Usage: datefudge "2003-04-01 09:42" program [args...]

datefudge can be used to find corner cases like "will this program behave
itself on a leap day" or "does this code handle expiry of an SSL
certificate correctly". Manually setting the system clock isn't an
option in many cases, especially on multiuser systems.

This program is not a complete solution. It is not meant to be.
Specifically, it does not touch the times in *stat() results. As a
consequence, programs like "make" will be confused.

If more advanced features are needed, please consider checking
'faketime' program from the libfaketime Debian package.

DISCLAIMER: Use at your own risk. Please not used this program to disable
restrictions in non-free software (for example, making a "30-day demo"
version run indefinitely).