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/mrldnb8yyalfmb1s8w31xgalv98g77x8-perl-5.34.0/bin:/gnu/store/0rzic57q5krwqypamb7scqllmgbfn7lg-coreutils-8.32/bin:/gnu/store/6s3mkll9wvgxgkczsjcl9nfqm74wi0mj-tar-1.34/bin:/gnu/store/6rxsi5nqx8dsmvx2ypyz81gb1n4csy3g-gzip-1.10/bin:/gnu/store/iipgssk08gmmkwxv5iyv1lm3blilvdir-bzip2-1.0.8/bin:/gnu/store/11gnzwa2qbqlg4pziysdk2fkbhrhhwrc-xz-5.2.5/bin:/gnu/store/6s9hy00b522g268spk3qasd8j8mg5z7r-file-5.39/bin:/gnu/store/b4s2gz0dyjhsym9rczyg21y909s2yzd1-diffutils-3.8/bin:/gnu/store/q89awzgsj00y74bmqlb4gl6b0plwi0k6-patch-2.7.6/bin:/gnu/store/bgmbk0abkm6nngmgam84fmb6m38kbndi-findutils-4.8.0/bin:/gnu/store/7mfpmrswg4y7apk0hri9hiwgn6xbbh9q-gawk-5.1.0/bin:/gnu/store/fkncn0815qj7k11zj05hyz670gdnb3jv-sed-4.8/bin:/gnu/store/14c1lz6vp2wqs6gh7m48rw3klx6bkvm8-grep-3.6/bin:/gnu/store/yixhh3q2i1x8pqpfq9nz83p15svg698m-coreutils-8.32/bin:/gnu/store/zz2br0lgdw6j6x6yvd0x49775gwn3bry-make-4.3/bin:/gnu/store/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-bash-minimal-5.1.8/bin:/gnu/store/0mdldh4ih1ff6d7lfya0d62d9vd5d5m8-ld-wrapper-0/bin:/gnu/store/xnxxwmcdv1fl14y9a7c9bkxx8r0rza1j-binutils-2.37/bin:/gnu/store/fnkgp9a8yq4401nijp8v5v7aq1vqrx70-gcc-10.3.0/bin:/gnu/store/bgw8ciirrbpxbds3v9wklf1isysqjlsl-glibc-2.33/bin:/gnu/store/bgw8ciirrbpxbds3v9wklf1isysqjlsl-glibc-2.33/sbin' environment variable `PERL5LIB' set to `/gnu/store/mrldnb8yyalfmb1s8w31xgalv98g77x8-perl-5.34.0/lib/perl5/site_perl' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/iipgssk08gmmkwxv5iyv1lm3blilvdir-bzip2-1.0.8/include:/gnu/store/11gnzwa2qbqlg4pziysdk2fkbhrhhwrc-xz-5.2.5/include:/gnu/store/6s9hy00b522g268spk3qasd8j8mg5z7r-file-5.39/include:/gnu/store/7mfpmrswg4y7apk0hri9hiwgn6xbbh9q-gawk-5.1.0/include:/gnu/store/zz2br0lgdw6j6x6yvd0x49775gwn3bry-make-4.3/include:/gnu/store/xnxxwmcdv1fl14y9a7c9bkxx8r0rza1j-binutils-2.37/include:/gnu/store/fnkgp9a8yq4401nijp8v5v7aq1vqrx70-gcc-10.3.0/include:/gnu/store/bgw8ciirrbpxbds3v9wklf1isysqjlsl-glibc-2.33/include:/gnu/store/fgc0c133apyavjkjhjbz54afy3100wxq-linux-libre-headers-5.10.35/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/iipgssk08gmmkwxv5iyv1lm3blilvdir-bzip2-1.0.8/include:/gnu/store/11gnzwa2qbqlg4pziysdk2fkbhrhhwrc-xz-5.2.5/include:/gnu/store/6s9hy00b522g268spk3qasd8j8mg5z7r-file-5.39/include:/gnu/store/7mfpmrswg4y7apk0hri9hiwgn6xbbh9q-gawk-5.1.0/include:/gnu/store/zz2br0lgdw6j6x6yvd0x49775gwn3bry-make-4.3/include:/gnu/store/xnxxwmcdv1fl14y9a7c9bkxx8r0rza1j-binutils-2.37/include:/gnu/store/fnkgp9a8yq4401nijp8v5v7aq1vqrx70-gcc-10.3.0/include/c++:/gnu/store/fnkgp9a8yq4401nijp8v5v7aq1vqrx70-gcc-10.3.0/include:/gnu/store/bgw8ciirrbpxbds3v9wklf1isysqjlsl-glibc-2.33/include:/gnu/store/fgc0c133apyavjkjhjbz54afy3100wxq-linux-libre-headers-5.10.35/include' environment variable `LIBRARY_PATH' set to `/gnu/store/mrldnb8yyalfmb1s8w31xgalv98g77x8-perl-5.34.0/lib:/gnu/store/iipgssk08gmmkwxv5iyv1lm3blilvdir-bzip2-1.0.8/lib:/gnu/store/11gnzwa2qbqlg4pziysdk2fkbhrhhwrc-xz-5.2.5/lib:/gnu/store/6s9hy00b522g268spk3qasd8j8mg5z7r-file-5.39/lib:/gnu/store/7mfpmrswg4y7apk0hri9hiwgn6xbbh9q-gawk-5.1.0/lib:/gnu/store/xnxxwmcdv1fl14y9a7c9bkxx8r0rza1j-binutils-2.37/lib:/gnu/store/bgw8ciirrbpxbds3v9wklf1isysqjlsl-glibc-2.33/lib:/gnu/store/1xfiv21xwzqf3j56phh8j2lg227391y5-glibc-2.33-static/lib:/gnu/store/w34424h2ihfqfxn72aj08h8z5rjvfk0r-glibc-utf8-locales-2.33/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/w34424h2ihfqfxn72aj08h8z5rjvfk0r-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/Makefile' -> `./Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/.travis.yml' -> `./.travis.yml' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.developers' -> `./README.developers' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/COPYING' -> `./COPYING' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.OSX' -> `./README.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/.gitignore' -> `./.gitignore' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/README.packagers' -> `./README.packagers' `/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/TODO' -> `./TODO' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/Makefile' -> `./test/Makefile' `/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/test.sh' -> `./test/test.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/randomtest.sh' -> `./test/randomtest.sh' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/testframe.sh' -> `./test/testframe.sh' `/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/Makefile.OSX' -> `./test/Makefile.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/timetest.c' -> `./test/timetest.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/test/testframe.inc' -> `./test/testframe.inc' `/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/functests/test_true.sh' -> `./test/functests/test_true.sh' `/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_null.sh' -> `./test/functests/test_null.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/common.inc' -> `./test/functests/common.inc' `/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/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/src/Makefile' -> `./src/Makefile' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/faketime.c' -> `./src/faketime.c' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/libfaketime.map' -> `./src/libfaketime.map' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/Makefile.OSX' -> `./src/Makefile.OSX' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/uthash.h' -> `./src/uthash.h' `/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/faketime_common.h' -> `./src/faketime_common.h' `/gnu/store/14zh0c6xpxfai3k8rilpj964w57qx7jz-libfaketime-0.9.9-checkout/src/timeprivacy' -> `./src/timeprivacy' `/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/libfaketime.c' -> `./src/libfaketime.c' `/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/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-bash-minimal-5.1.8/bin/bash' patch-shebang: ./test/randomtest.sh: changing `/bin/sh' to `/gnu/store/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/test.sh: changing `/bin/sh' to `/gnu/store/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/test_OSX.sh: changing `/bin/sh' to `/gnu/store/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-bash-minimal-5.1.8/bin/sh' patch-shebang: ./test/testframe.sh: changing `/bin/bash' to `/gnu/store/sbnx4xjgw2f2c5hxvv2qfdiqqnqyi7zr-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER 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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER -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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9'"' -DLIBDIRNAME='"'/lib/faketime'"' -DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER faketime.c -lpthread -Wl,--version-script=libfaketime.map -lrt gcc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketimeMT.o -ldl -lm -lrt gcc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -ldl -lm -lrt make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/src' phase `build' succeeded after 0.4 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 -DFORCE_PTHREAD_NONVER 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=176358.391486703 When not faking monotonic time, timestamps should be different ref=176359.407119446 - 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=1642624567 - 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: Wed Jan 19 20:36:10 2022 time(NULL) : Seconds since Epoch : 1642624570 ftime() : Current date and time: Wed Jan 19 20:36:10 2022 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Wed Jan 19 20:36:12 2022 Caught signal 10 clock_gettime(): Current date and time: Wed Jan 19 20:36:12 2022 stat(): mod. time of file './timetest': Wed Jan 19 20:36:06 2022 ============================================================================= 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': Wed Jan 19 20:36:06 2022 ============================================================================= 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:16 2005 time(NULL) : Seconds since Epoch : 1112105656 ftime() : Current date and time: Tue Mar 29 14:14:16 2005 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Tue Mar 29 14:14:18 2005 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Tue Mar 29 14:14:18 2005 stat(): mod. time of file './timetest': Wed Jan 19 20:36:06 2022 ============================================================================= 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: Sun Jan 9 20:36:22 2022 time(NULL) : Seconds since Epoch : 1641760582 ftime() : Current date and time: Sun Jan 9 20:36:22 2022 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sun Jan 9 20:36:24 2022 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Sun Jan 9 20:36:24 2022 stat(): mod. time of file './timetest': Wed Jan 19 20:36:06 2022 ============================================================================= 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: Sun Jan 9 20:36:26 2022 time(NULL) : Seconds since Epoch : 1641760586 ftime() : Current date and time: Sun Jan 9 20:36:26 2022 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sun Jan 9 20:36:28 2022 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Sun Jan 9 20:36:28 2022 stat(): mod. time of file './timetest': Wed Jan 19 20:36:06 2022 ============================================================================= 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: Sat Jan 29 20:36:30 2022 time(NULL) : Seconds since Epoch : 1643488590 ftime() : Current date and time: Sat Jan 29 20:36:30 2022 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sat Jan 29 20:36:32 2022 Caught signal 10 clock_gettime(): Current date and time: Sat Jan 29 20:36:32 2022 stat(): mod. time of file './timetest': Wed Jan 19 20:36:06 2022 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Tue Jan 4 08:36:32 PM UTC 2022 ============================================================================= Testing finished. make[1]: Leaving directory '/tmp/guix-build-libfaketime-0.9.9.drv-0/source/test' phase `check' succeeded after 26.3 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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/lib/faketime and the faketime wrapper script to /gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/bin ... install -dm0755 "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/lib/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/lib/faketime/" install -Dm0755 faketime "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/share/man/man1/faketime.1" gzip -f "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/share/doc/faketime/" install -m0644 README "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/share/doc/faketime/README" install -m0644 NEWS "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/lib" with "strip" and flags ("--strip-unneeded" "--enable-deterministic-archives") stripping binaries in "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/lib"... validating RUNPATH of 1 binaries in "/gnu/store/4nyh6pa7l92yssgygz8bsyg80j4aja9p-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/4nyh6pa7l92yssgygz8bsyg80j4aja9p-libfaketime-0.9.9/etc/ld.so.cache' from 3 library search path entries phase `make-dynamic-linker-cache' succeeded after 0.1 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