Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
guix/gnu
Ludovic Courtès bc9aa60bd5
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.
2018-11-17 19:02:18 +01:00
..
bootloader
build linux-initrd: Make sure 'build-initrd' can delete files. 2018-11-07 16:06:42 +01:00
packages gnu: nss: Make tests deterministic. 2018-11-17 19:02:18 +01:00
services services: nscd: Add 'invalidate' and 'statistics' actions. 2018-11-13 14:59:45 +01:00
system system: Rename .zlogin to .zprofile. 2018-10-19 00:45:20 -07:00
tests services: nscd: Add 'invalidate' and 'statistics' actions. 2018-11-13 14:59:45 +01:00
artwork.scm artwork: Clone over HTTPS. 2018-11-05 00:08:47 +01:00
bootloader.scm
local.mk Merge branch 'master' into core-updates 2018-11-14 21:20:46 +01:00
packages.scm
services.scm
system.scm
tests.scm