diff options
author | Andreas Metzler <ametzler@bebt.de> | 2023-03-05 14:27:39 +0100 |
---|---|---|
committer | Andreas Metzler <ametzler@bebt.de> | 2023-04-04 17:56:05 +0200 |
commit | 013767dae0d2403d5788fcf9fa6095c46c7733cf (patch) | |
tree | b83124adc95a78528b8df26c1dd20cf32ff53c1c | |
parent | 854f901a248abadcc0a5f1f7783432520ed07aed (diff) | |
download | gnutls-013767dae0d2403d5788fcf9fa6095c46c7733cf.tar.gz |
Update docs for faketime instead of datefudge
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
-rw-r--r-- | CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | README.md | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff7a747fc2..37ee2e5e3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,7 @@ For testing functionality of gnutls we use two test unit testing frameworks: Certificates for testing purposes are available at [cert-common.h](tests/cert-common.h). Note that we do not regenerate test certificates when they expire, but -we rather fix the test's time using datefudge or gnutls_global_set_time_function(). +we rather fix the test's time using faketime/datefudge or gnutls_global_set_time_function(). For example, see [x509cert-tl.c](tests/x509cert-tl.c). @@ -85,7 +85,8 @@ and mbedtls. * [Valgrind](https://valgrind.org/) (optional) * [Libasan](https://gcc.gnu.org//) (optional) -* [datefudge](https://packages.debian.org/datefudge) (optional) +* [faketime](https://github.com/wolfcw/libfaketime) (preferred) or + [datefudge](https://packages.debian.org/datefudge) (optional) * [nodejs](https://nodejs.org/) (needed for certain test cases) * [softhsm](https://www.opendnssec.org/softhsm/) (for testing smart card support) * [dieharder](https://www.phy.duke.edu/~rgb/General/dieharder.php) (for testing PRNG) @@ -95,7 +96,7 @@ and mbedtls. Debian/Ubuntu: ``` -apt-get install -y valgrind nodejs softhsm2 datefudge lcov libssl-dev libcmocka-dev expect libev-dev +apt-get install -y valgrind nodejs softhsm2 faketime lcov libssl-dev libcmocka-dev expect libev-dev apt-get install -y dieharder openssl abigail-tools socat net-tools ppp util-linux ``` @@ -107,7 +108,7 @@ apt-get install -y v libubsan0 libasan1 Fedora/RHEL: ``` -yum install -y valgrind libasan libasan-static libubsan nodejs softhsm datefudge lcov openssl-devel expect libev-devel +yum install -y valgrind libasan libasan-static libubsan nodejs softhsm faketime lcov openssl-devel expect libev-devel yum install -y dieharder mbedtls-utils openssl libabigail libcmocka-devel socat util-linux ``` |