summary refs log tree commit diff
path: root/gnu/packages/gperf.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-11-17 19:02:18 +0100
committerLudovic Courtès <ludo@gnu.org>2018-11-17 19:02:18 +0100
commitbc9aa60bd574f44b0a75363d59c43a23cda6bdb0 (patch)
tree7b8206dad72d62143d53f90fd121a644087cbcbd /gnu/packages/gperf.scm
parent85b28320d4493902395c49f32f48a11290a41de2 (diff)
downloadguix-bc9aa60bd574f44b0a75363d59c43a23cda6bdb0.tar.gz
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 'gnu/packages/gperf.scm')
0 files changed, 0 insertions, 0 deletions