fix tests with space in path

This commit is contained in:
Michael Sprauer 2020-06-30 22:34:26 +02:00
parent df4e04f033
commit 989f691281

View file

@ -22,7 +22,7 @@ function teardown() {
function setup_file() {
# copy the custom DHE params in local config
cp `pwd`/test/test-files/ssl/custom-dhe-params.pem `pwd`/test/config/dhparams.pem
cp "`pwd`/test/test-files/ssl/custom-dhe-params.pem" "`pwd`/test/config/dhparams.pem"
docker run -d --name mail_manual_dhparams_not_one_dir \
-v "`pwd`/test/config":/tmp/docker-mailserver \
@ -35,7 +35,7 @@ function setup_file() {
function teardown_file() {
# remove custom dhe file
rm `pwd`/test/config/dhparams.pem
rm "`pwd`/test/config/dhparams.pem"
docker rm -f mail_manual_dhparams_not_one_dir
}