diff --git a/tests/extras.sh b/tests/extras.sh index 7c869d7..e11794e 100755 --- a/tests/extras.sh +++ b/tests/extras.sh @@ -15,7 +15,7 @@ set -e TESTMODULE="m_svsoper" # Create directory for testing -mkdir /tmp/test-extras/ +mkdir -p tmp/test-extras/ docker build --build-arg EXTRASMODULES="$TESTMODULE" . diff --git a/tests/mountConfig.sh b/tests/mountConfig.sh index 87868b1..e69d582 100755 --- a/tests/mountConfig.sh +++ b/tests/mountConfig.sh @@ -14,7 +14,7 @@ set -e . "$(dirname "$0")/.portconfig.sh" # Create config directory for testing -mkdir /tmp/test-mountConfig/ && sudo chown 10000 /tmp/test-mountConfig/ +mkdir -p tmp/test-mountConfig/ && sudo chown 10000 /tmp/test-mountConfig/ # Create docker container with our test parameters DOCKERCONTAINER=$(docker run -d -v /tmp/test-mountConfig/:/inspircd/conf -p "127.0.0.1:${CLIENT_PORT}:6667" -p "127.0.0.1:${TLS_CLIENT_PORT}:6697" inspircd:testing)