Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fe06a89 authored by Zach Johnson's avatar Zach Johnson
Browse files

Add fake_timerfd so time is deterministic in fuzz tests

Has same interface as timerfd with 2 additional functions:

fake_timerfd_reset(), to reset everything after a test.
fake_timerfd_advance(ms), to move time forward a number of ms.

Test: fuzz/run --host bluetooth_gd_hci_fuzz_test
Change-Id: Ifedada770797b014d08e439cb1915f4e733697e6
parent 7e22ea2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment