diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-11-17 19:02:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-11-17 19:02:18 +0100 |
commit | bc9aa60bd574f44b0a75363d59c43a23cda6bdb0 (patch) | |
tree | 7b8206dad72d62143d53f90fd121a644087cbcbd /tests/glob.scm | |
parent | 85b28320d4493902395c49f32f48a11290a41de2 (diff) | |
download | guix-bc9aa60bd574f44b0a75363d59c43a23cda6bdb0.tar.gz guix-bc9aa60bd574f44b0a75363d59c43a23cda6bdb0.zip |
gnu: nss: Make tests deterministic.
Tests would fail once certificates had expired, along these lines:
chains.sh: Verifying certificate(s) PayPalEE.cert with flags -d AllDB -pp -o OID.2.16.840.1.114412.1.1
vfychain -d AllDB -pp -vv -o OID.2.16.840.1.114412.1.1 /tmp/guix-build-nss-3.39.drv-0/nss-3.39/nss/tests/libpkix/certs/PayPalEE.cert
Chain is bad!
PROBLEM WITH THE CERT CHAIN:
CERT 0. PayPalEE :
ERROR -8181: Peer's Certificate has expired.
Returned value is 1, expected result is pass
Using 'faketime' allows us to get deterministic results.
* gnu/packages/gnuzilla.scm (nss)[arguments]: In 'check' phase, run
'all.sh' under 'faketime'.
[native-inputs]: Add LIBFAKETIME.
Diffstat (limited to 'tests/glob.scm')
0 files changed, 0 insertions, 0 deletions