After running make, which worked fine, I've tried to run the tests.
OS: MacOS arm64
(base) lennard@MacBook-Air libfaketime % ./test/test.sh
Running the test program with no faked time specified
$ LD_PRELOAD=../src/libfaketime.so.1 ./timetest
./test/test.sh: line 14: ./timetest: No such file or directory
=============================================================================
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
./test/test.sh: line 23: ./timetest: No such file or directory
=============================================================================
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
./test/test.sh: line 31: ./timetest: No such file or directory
=============================================================================
Running the test program with 10 days negative offset specified
LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" ./timetest
./test/test.sh: line 39: ./timetest: No such file or directory
=============================================================================
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
./test/test.sh: line 47: ./timetest: No such file or directory
=============================================================================
Running the test program with 10 days positive offset specified, and speed-up factor
$ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="+10d x1" ./timetest
./test/test.sh: line 55: ./timetest: No such file or directory
=============================================================================
Running the 'date' command with 15 days negative offset specified
$ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date
Fri Nov 17 12:14:53 CET 2023
=============================================================================
Running the test program with malloc interception
$ LD_PRELOAD=./libmallocintercept.so:../src/libfaketime.so.1 ./timetest
./test/test.sh: line 71: ./timetest: No such file or directory
=============================================================================
Running the test program with malloc interception and file faketimerc
$ FAKETIME_NO_CACHE=1 FAKETIME_TIMESTAMP_FILE=.faketimerc-for-test LD_PRELOAD=./libmallocintercept.so:../src/libfaketime.so.1 ./timetest
./test/test.sh: line 80: ./timetest: No such file or directory
=============================================================================
Testing finished.
After running make, which worked fine, I've tried to run the tests. OS: MacOS arm64