summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorWolfgang Hommel <wolfgang.hommel@unibw.de>2019-08-20 13:08:36 +0200
committerWolfgang Hommel <wolfgang.hommel@unibw.de>2019-08-20 13:08:36 +0200
commitb855b8a0d354a1958f58be3713f78ba7583196ad (patch)
tree421ac305408675b3373d42f6255fb0a9e03e51ae /README
parent29efeed24735167c2b07aade65d3510420421c68 (diff)
downloadlibfaketime-b855b8a0d354a1958f58be3713f78ba7583196ad.tar.gz
Updated documentation regarding offset specification on x/i modifiers
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index e04d8c3..fc4e57a 100644
--- a/README
+++ b/README
@@ -281,6 +281,11 @@ completely independently of the system clock. It helps running programs
with some determinism. In this single case all spawned processes will use
the same global clock without restarting it at the start of each process.
+Please note that using "x" or "i" in FAKETIME still requires giving an offset
+(see section 4d). This means that "+1y x2" will work, but "x2" only will not.
+If you do not want to fake the time, but just modify clock speed, use something
+like "+0 x2", i.e., use an explizit zero offset as a prefix in your FAKETIME.
+
For testing, your should run a command like
LD_PRELOAD=./libfaketime.so.1 FAKETIME="+1,5y x10,0" \