Stephan Kulow 8ba4e2fb84 Run the nosetests in a tumbleweed container instead of travis environment
The docker-compose file starts an OBS instance (on 15.0 atm) and runs
the test suite in a test container (tumbleweed), so all tests run in
an isolated environment accessing OBS at api:3000
2019-05-04 15:44:39 +02:00

8 lines
187 B
Bash
Executable File

#!/bin/sh
set -e
# This script is run from docker-compose within test container
/usr/sbin/usermod -u $(stat -c %u /code/LICENSE) tester
/usr/bin/sudo -u tester bash -c "cd /code && $*"