Re: [cacard 1/2] tests: Add cert.cfg to EXTRA_DIST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 13, 2018 at 07:12:24PM +0200, Marc-André Lureau wrote:
> On Mon, Aug 13, 2018 at 6:11 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> > Without it, make check from tarballs will fail.
> 
> Actually make distcheck passes, but the tests are skipped, right?

When running make check from a tarball in rpmbuild, the test reports
some errors, but make check is successful nonetheless:

(cd tests/ && /builddir/build/BUILD/libcacard-2.6.0/tests/setup-softhsm2.sh)
The token has been initialized.
Using slot 0 with a present token (0x0)
Key pair generated:
[...]
configFileLoad: No such file or directory
Error loading template: /builddir/build/BUILD/libcacard-2.6.0/tests/cert.cfg
unable to load certificate
140737354057616:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
Using slot 0 with a present token (0x0)
error: Couldn't open file "RSA:1024.cert.der"
Aborting.
rm: cannot remove 'RSA:1024.cert.der': No such file or directory
Token 'SC test' with URL 'pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=3b61b1ca25aaa5c2;token=SC%20test' requires user PIN
Object 0:
[...]
Using slot 0 with a present token (0x0)
[...]
configFileLoad: No such file or directory
Error loading template: /builddir/build/BUILD/libcacard-2.6.0/tests/cert.cfg
unable to load certificate
140737354057616:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE
Using slot 0 with a present token (0x0)
error: Couldn't open file "RSA:1024.cert.der"
Aborting.
rm: cannot remove 'RSA:1024.cert.der': No such file or directory
Token 'SC test' with URL 'pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=3b61b1ca25aaa5c2;token=SC%20test' requires user PIN
Object 0:
[...]
Module "SoftHSM PKCS#11" added to database.

(yep, one more thing which would be nice to fix..)

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]