From cf5bb71d0381d70c0e973bf4f682e7e18cc7f7ea Mon Sep 17 00:00:00 2001 From: Nate Coraor <nate@bx.psu.edu> Date: Tue, 19 Sep 2017 11:15:12 -0400 Subject: [PATCH] Fix run-as-user tests --- .travis/setup_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/setup_tests.sh b/.travis/setup_tests.sh index f9722987..8a670750 100755 --- a/.travis/setup_tests.sh +++ b/.travis/setup_tests.sh @@ -19,5 +19,5 @@ sudo service munge start sudo python scripts/configure_test_slurm.py echo "export DRMAA_LIBRARY_PATH=/usr/lib/slurm-drmaa/lib/libdrmaa.so" >> local_env.sh echo ". $VIRTUAL_ENV/bin/activate" >> local_env.sh -sudo adduser --quiet --disabled-password --gecos TEST u1 ## Create user for run-as-user test. +sudo useradd --home-dir /home/u1 --shell /bin/bash --create-home --comment TEST,,, --groups travis u1 ## Create user for run-as-user test. mkdir -p ~/.ssh && cp test_data/testkey.pub ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys -- GitLab