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
This can be tested by removing the installation of
nss_wrapper
fromcontrib/etc/install.sh
. In this case the test will fail with an error message similar to this: