Skip to content
Snippets Groups Projects
Commit cf5bb71d authored by Nate Coraor's avatar Nate Coraor
Browse files

Fix run-as-user tests

parent 31be67da
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment