nodeshift-archived / centos7-s2i-nodejs

DEPRECATED OpenShift S2I builder images for Node.js ✨
Apache License 2.0
33 stars 55 forks source link

build: add test for nss_wrapper #141

Closed danbev closed 6 years ago

danbev commented 6 years ago

This can be tested by removing the installation of nss_wrapper from contrib/etc/install.sh. In this case the test will fail with an error message similar to this:

Checking nss_wrapper ...
ERROR[/bin/bash -c echo 'danbev:x:1000:1000:danbev test:/home/danbev:/bin/false' > passwd &&
LD_PRELOAD=libnss_wrapper.so NSS_WRAPPER_PASSWD=passwd NSS_WRAPPER_GROUP=group getent passwd danbev]

'ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded: ignored.'

STI image 'bucharestgold/centos7-s2i-nodejs:10.x' test FAILED (exit code: 1)
make: *** [test] Error 1
helio-frota commented 6 years ago

feedback: 2018-10-02_11-22