starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/v26gmmw0xakfw4g46bc437srbj70hl0b-perl-5.34.0/bin:/gnu/store/ia3w8r963hx8zd8ala5jb3w9n0d9wzi2-coreutils-8.32/bin:/gnu/store/d8kx7i62bzcd8ladkzwrchcrd60f7bfj-tar-1.34/bin:/gnu/store/6ascvgl36zxymlpldh8x8igv7pkizi5s-gzip-1.10/bin:/gnu/store/dmca74p8b9ik05mrsnvbviflbxrz9qaw-bzip2-1.0.8/bin:/gnu/store/s3577mn5iz2gjgkrava2sm914bgbnkd8-xz-5.2.5/bin:/gnu/store/61b8q6rgdfgd2ffdnyqk6gq2ckrnm007-file-5.39/bin:/gnu/store/2mvffg3isy144py579g5ajwyjh04xbmp-diffutils-3.8/bin:/gnu/store/b34jl32gsdw4rvm78a82m4q50i6p1d7l-patch-2.7.6/bin:/gnu/store/zxaz9cg2b7x6c1z545x861zqllj8vz6h-findutils-4.8.0/bin:/gnu/store/sb75h0di8w5mhpn4wfhk7za6c7x3c97c-gawk-5.1.0/bin:/gnu/store/skrsx5h5h011al604grc3rqa2dhqp2wc-sed-4.8/bin:/gnu/store/vl9pxlycbk5ff0i7jbgyrh0rb2dl07lx-grep-3.6/bin:/gnu/store/firkqph0zalxwjv5g4cdjm4zh3kl3fax-coreutils-8.32/bin:/gnu/store/zjhq95bn5kmlhiqdsvcyy1nhyphxi8yb-make-4.3/bin:/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin:/gnu/store/zhpqig154gpqkgc964wmdnf6b889jfsq-ld-wrapper-0/bin:/gnu/store/h8052068pq3a6rc903982ad2dd5ssxgk-binutils-2.37/bin:/gnu/store/ky9xbrj6slwvgwa4536xbs5lradbqfk5-gcc-10.3.0/bin:/gnu/store/skfhr2f8b7jnnpiarrrcjn6qx0xzfw00-glibc-2.33/bin:/gnu/store/skfhr2f8b7jnnpiarrrcjn6qx0xzfw00-glibc-2.33/sbin' environment variable `PERL5LIB' set to `/gnu/store/v26gmmw0xakfw4g46bc437srbj70hl0b-perl-5.34.0/lib/perl5/site_perl' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/dmca74p8b9ik05mrsnvbviflbxrz9qaw-bzip2-1.0.8/include:/gnu/store/s3577mn5iz2gjgkrava2sm914bgbnkd8-xz-5.2.5/include:/gnu/store/61b8q6rgdfgd2ffdnyqk6gq2ckrnm007-file-5.39/include:/gnu/store/sb75h0di8w5mhpn4wfhk7za6c7x3c97c-gawk-5.1.0/include:/gnu/store/zjhq95bn5kmlhiqdsvcyy1nhyphxi8yb-make-4.3/include:/gnu/store/h8052068pq3a6rc903982ad2dd5ssxgk-binutils-2.37/include:/gnu/store/ky9xbrj6slwvgwa4536xbs5lradbqfk5-gcc-10.3.0/include:/gnu/store/skfhr2f8b7jnnpiarrrcjn6qx0xzfw00-glibc-2.33/include:/gnu/store/swpaxgk7xzgs4lkmw450wiak8iy8snsm-linux-libre-headers-5.10.35/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/dmca74p8b9ik05mrsnvbviflbxrz9qaw-bzip2-1.0.8/include:/gnu/store/s3577mn5iz2gjgkrava2sm914bgbnkd8-xz-5.2.5/include:/gnu/store/61b8q6rgdfgd2ffdnyqk6gq2ckrnm007-file-5.39/include:/gnu/store/sb75h0di8w5mhpn4wfhk7za6c7x3c97c-gawk-5.1.0/include:/gnu/store/zjhq95bn5kmlhiqdsvcyy1nhyphxi8yb-make-4.3/include:/gnu/store/h8052068pq3a6rc903982ad2dd5ssxgk-binutils-2.37/include:/gnu/store/ky9xbrj6slwvgwa4536xbs5lradbqfk5-gcc-10.3.0/include/c++:/gnu/store/ky9xbrj6slwvgwa4536xbs5lradbqfk5-gcc-10.3.0/include:/gnu/store/skfhr2f8b7jnnpiarrrcjn6qx0xzfw00-glibc-2.33/include:/gnu/store/swpaxgk7xzgs4lkmw450wiak8iy8snsm-linux-libre-headers-5.10.35/include' environment variable `LIBRARY_PATH' set to `/gnu/store/v26gmmw0xakfw4g46bc437srbj70hl0b-perl-5.34.0/lib:/gnu/store/dmca74p8b9ik05mrsnvbviflbxrz9qaw-bzip2-1.0.8/lib:/gnu/store/s3577mn5iz2gjgkrava2sm914bgbnkd8-xz-5.2.5/lib:/gnu/store/61b8q6rgdfgd2ffdnyqk6gq2ckrnm007-file-5.39/lib:/gnu/store/sb75h0di8w5mhpn4wfhk7za6c7x3c97c-gawk-5.1.0/lib:/gnu/store/h8052068pq3a6rc903982ad2dd5ssxgk-binutils-2.37/lib:/gnu/store/skfhr2f8b7jnnpiarrrcjn6qx0xzfw00-glibc-2.33/lib:/gnu/store/66nrq0ra6d3jnsc24cms9lgzbyb9spr8-glibc-2.33-static/lib:/gnu/store/mnxbr2w45qrfi4bi7khl2yj56rjz9vbi-glibc-utf8-locales-2.33/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/mnxbr2w45qrfi4bi7khl2yj56rjz9vbi-glibc-utf8-locales-2.33/lib/locale' phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' using 'en_US.utf8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/.gitignore' -> `./.gitignore' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/.travis.yml' -> `./.travis.yml' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/COPYING' -> `./COPYING' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/Makefile' -> `./Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/NEWS' -> `./NEWS' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README' -> `./README' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.OSX' -> `./README.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.developers' -> `./README.developers' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.packagers' -> `./README.packagers' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/TODO' -> `./TODO' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/Makefile' -> `./test/Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/Makefile.OSX' -> `./test/Makefile.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/README-testframe.txt' -> `./test/README-testframe.txt' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/getrandom_test.c' -> `./test/getrandom_test.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/randomtest.sh' -> `./test/randomtest.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/test.sh' -> `./test/test.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/test_OSX.sh' -> `./test/test_OSX.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/testframe.inc' -> `./test/testframe.inc' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/testframe.sh' -> `./test/testframe.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/timetest.c' -> `./test/timetest.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/common.inc' -> `./test/functests/common.inc' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/dont_test_false.sh' -> `./test/functests/dont_test_false.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/test_exclude_mono.sh' -> `./test/functests/test_exclude_mono.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/test_null.sh' -> `./test/functests/test_null.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/test_true.sh' -> `./test/functests/test_true.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/functests/test_walkone.sh' -> `./test/functests/test_walkone.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/Makefile' -> `./src/Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/Makefile.OSX' -> `./src/Makefile.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/faketime.c' -> `./src/faketime.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/faketime_common.h' -> `./src/faketime_common.h' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/libfaketime.c' -> `./src/libfaketime.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/libfaketime.map' -> `./src/libfaketime.map' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/sunos_endian.h' -> `./src/sunos_endian.h' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/time_ops.h' -> `./src/time_ops.h' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/timeprivacy' -> `./src/timeprivacy' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/uthash.h' -> `./src/uthash.h' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/man/Makefile' -> `./man/Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/man/Makefile.OSX' -> `./man/Makefile.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/man/faketime.1' -> `./man/faketime.1' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/.github/workflows/make-test.yml' -> `./.github/workflows/make-test.yml' phase `unpack' succeeded after 0.0 seconds starting phase `embed-date-reference' phase `embed-date-reference' succeeded after 0.0 seconds starting phase `bootstrap' no 'configure.ac' or anything like that, doing nothing phase `bootstrap' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' patch-shebang: ./src/timeprivacy: changing `/bin/bash' to `/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin/bash' patch-shebang: ./test/randomtest.sh: changing `/bin/sh' to `/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/test.sh: changing `/bin/sh' to `/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/test_OSX.sh: changing `/bin/sh' to `/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/testframe.sh: changing `/bin/bash' to `/gnu/store/7npwsymmqsb6qcn268cbdnd5558byfy2-bash-minimal-5.1.8/bin/bash' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `configure' phase `configure' succeeded after 0.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' make -C src all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' gcc -o libfaketime.o -c -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX libfaketime.c gcc -o libfaketimeMT.o -c -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX -DPTHREAD_SINGLETHREADED_TIME libfaketime.c gcc -o faketime -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX faketime.c -lpthread -Wl,--version-script=libfaketime.map -lrt gcc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -ldl -lm -lrt gcc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketimeMT.o -ldl -lm -lrt make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' phase `build' succeeded after 1.0 seconds starting phase `pre-check' phase `pre-check' succeeded after 0.0 seconds starting phase `check' make -C src all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' make -C test all make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/test' gcc -c -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra -DFORCE_MONOTONIC_FIX timetest.c ./testframe.sh functests # Begin Test Suites in functests # Begin functests/test_exclude_mono.sh # PLATFORM=linuxlike gcc -o timetest timetest.o -lrt -lpthread out=1857153.95873602 When not faking monotonic time, timestamps should be different ref=1857154.99105783 - ok # functests/test_exclude_mono.sh summary: 1 succeeded, 0 failed # End functests/test_exclude_mono.sh - OK # Begin functests/test_null.sh out=0 () ref=1640070790 - ok # functests/test_null.sh summary: 1 succeeded, 0 failed # End functests/test_null.sh - OK # Begin functests/test_true.sh # functests/test_true.sh summary: 1 succeeded, 0 failed # End functests/test_true.sh - OK # Begin functests/test_walkone.sh # PLATFORM=linuxlike out=1 (secs since Epoch) - ok out=2 (secs since Epoch) - ok out=4 (secs since Epoch) - ok out=8 (secs since Epoch) - ok out=16 (secs since Epoch) - ok out=32 (secs since Epoch) - ok out=64 (secs since Epoch) - ok out=128 (secs since Epoch) - ok out=256 (secs since Epoch) - ok out=512 (secs since Epoch) - ok out=1024 (secs since Epoch) - ok out=2048 (secs since Epoch) - ok out=4096 (secs since Epoch) - ok out=8192 (secs since Epoch) - ok out=16384 (secs since Epoch) - ok out=32768 (secs since Epoch) - ok out=65536 (secs since Epoch) - ok out=131072 (secs since Epoch) - ok out=262144 (secs since Epoch) - ok out=524288 (secs since Epoch) - ok out=1048576 (secs since Epoch) - ok out=2097152 (secs since Epoch) - ok out=4194304 (secs since Epoch) - ok out=8388608 (secs since Epoch) - ok out=16777216 (secs since Epoch) - ok out=33554432 (secs since Epoch) - ok out=67108864 (secs since Epoch) - ok out=134217728 (secs since Epoch) - ok out=268435456 (secs since Epoch) - ok out=536870912 (secs since Epoch) - ok out=1073741824 (secs since Epoch) - ok # functests/test_walkone.sh summary: 31 succeeded, 0 failed # End functests/test_walkone.sh - OK # Test Suites summary: 4 succeeded, 0 failed # End Test Suites - OK Running the test program with no faked time specified $ LD_PRELOAD=../src/libfaketime.so.1 ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Tue Dec 21 07:13:12 2021 time(NULL) : Seconds since Epoch : 1640070792 ftime() : Current date and time: Tue Dec 21 07:13:12 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Tue Dec 21 07:13:14 2021 Caught signal 10 clock_gettime(): Current date and time: Tue Dec 21 07:13:14 2021 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the test program with absolute date 2003-01-01 10:00:05 specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="2003-01-01 10:00:05" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Wed Jan 1 10:00:05 2003 time(NULL) : Seconds since Epoch : 1041415205 ftime() : Current date and time: Wed Jan 1 10:00:05 2003 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Wed Jan 1 10:00:05 2003 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Wed Jan 1 10:00:05 2003 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the test program with START date @2005-03-29 14:14:14 specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="@2005-03-29 14:14:14" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Tue Mar 29 14:14:15 2005 time(NULL) : Seconds since Epoch : 1112105655 ftime() : Current date and time: Tue Mar 29 14:14:15 2005 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Tue Mar 29 14:14:17 2005 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Tue Mar 29 14:14:17 2005 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the test program with 10 days negative offset specified LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Sat Dec 11 07:13:21 2021 time(NULL) : Seconds since Epoch : 1639206801 ftime() : Current date and time: Sat Dec 11 07:13:21 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sat Dec 11 07:13:23 2021 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Sat Dec 11 07:13:23 2021 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the test program with 10 days negative offset specified, and FAKE_STAT disabled $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" NO_FAKE_STAT=1 ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Sat Dec 11 07:13:24 2021 time(NULL) : Seconds since Epoch : 1639206804 ftime() : Current date and time: Sat Dec 11 07:13:24 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sat Dec 11 07:13:26 2021 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Sat Dec 11 07:13:26 2021 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the test program with 10 days positive offset specified, and speed-up factor $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="+10d x1" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Fri Dec 31 07:13:27 2021 time(NULL) : Seconds since Epoch : 1640934807 ftime() : Current date and time: Fri Dec 31 07:13:27 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Fri Dec 31 07:13:29 2021 Caught signal 10 clock_gettime(): Current date and time: Fri Dec 31 07:13:29 2021 stat(): mod. time of file './timetest': Tue Dec 21 07:13:08 2021 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Mon Dec 6 07:13:29 AM UTC 2021 ============================================================================= Testing finished. make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/test' phase `check' succeeded after 20.6 seconds starting phase `install' make -C src install make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' Copying the faketime libraries to /gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/lib/faketime and the faketime wrapper script to /gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/bin ... install -dm0755 "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/lib/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/lib/faketime/" install -Dm0755 faketime "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/bin/faketime" make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' make -C man install make[1]: Entering directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/man' install -Dm0644 faketime.1 "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/share/man/man1/faketime.1" gzip -f "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/share/man/man1/faketime.1" make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/man' install -dm0755 "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/share/doc/faketime/" install -m0644 README "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/share/doc/faketime/README" install -m0644 NEWS "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/share/doc/faketime/NEWS" phase `install' succeeded after 0.1 seconds starting phase `patch-shebangs' phase `patch-shebangs' succeeded after 0.0 seconds starting phase `strip' stripping binaries in "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/lib" with "strip" and flags ("--strip-unneeded" "--enable-deterministic-archives") stripping binaries in "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/bin" with "strip" and flags ("--strip-unneeded" "--enable-deterministic-archives") phase `strip' succeeded after 0.0 seconds starting phase `validate-runpath' validating RUNPATH of 2 binaries in "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/lib"... validating RUNPATH of 1 binaries in "/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/bin"... phase `validate-runpath' succeeded after 0.0 seconds starting phase `validate-documentation-location' phase `validate-documentation-location' succeeded after 0.0 seconds starting phase `delete-info-dir-file' phase `delete-info-dir-file' succeeded after 0.0 seconds starting phase `patch-dot-desktop-files' phase `patch-dot-desktop-files' succeeded after 0.0 seconds starting phase `make-dynamic-linker-cache' created '/gnu/store/fy46c4h6praqnxxwi8107i6kvxh959fp-libfaketime-0.9.9/etc/ld.so.cache' from 2 library search path entries phase `make-dynamic-linker-cache' succeeded after 0.0 seconds starting phase `install-license-files' installing 1 license files from '.' phase `install-license-files' succeeded after 0.0 seconds starting phase `reset-gzip-timestamps' phase `reset-gzip-timestamps' succeeded after 0.0 seconds starting phase `compress-documentation' phase `compress-documentation' succeeded after 0.0 seconds