run make installcheck tests as an unprivileged user
run make installcheck tests as an unprivileged user

This patch will look for the PKCS11_TEST_USER environemnt variable and if set, will run the testsuite as that user instead of root.  If the env var is missing, the tests are run as root.

Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>

 testcases/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

fingunter/OpenCryptoki,shpedoikal/opencryptoki,shpedoikal/opencryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,joylatten/opencryptoki