mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
added new simple snippet "time.c"
This commit is contained in:
2
test/snippets/time.c
Normal file
2
test/snippets/time.c
Normal file
@@ -0,0 +1,2 @@
|
||||
time_t t = time(NULL);
|
||||
printf("[%s] time() yielded %zd\n", where, t);
|
||||
1
test/snippets/time.variable
Normal file
1
test/snippets/time.variable
Normal file
@@ -0,0 +1 @@
|
||||
FAKETIME 2020-02-02 02:02:02+00:00
|
||||
Reference in New Issue
Block a user