diff options
Diffstat (limited to '')
-rw-r--r-- | bin/tests/virtual-time/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/tests/virtual-time/README b/bin/tests/virtual-time/README new file mode 100644 index 0000000..a58940f --- /dev/null +++ b/bin/tests/virtual-time/README @@ -0,0 +1,18 @@ +Copyright (C) Internet Systems Consortium, Inc. ("ISC") + +See COPYRIGHT in the source root or http://isc.org/copyright.html for terms. + +This is copied from ../system. + +This test suite uses a virtual time, gettimeofday(), select(), +poll(), kevent() and epoll_wait() Unix system calls are redirected: +gettimeofday() returns a date in virtual/exponentially inflated +delay from an epoch, select(), poll(), kevent() and epoll_wait() +timeouts are deflated down to at least 10ms. + +These tests depends on LD_PRELOAD being supported by the runtime +loader. + +Beware BIND clock uses unsigned integer, in 22 seconds isc_time_now() +overflows and breaks assertions. Note 22 real seconds is 136 virtual +years... |