mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix tests with space in path
This commit is contained in:
parent
df4e04f033
commit
989f691281
|
@ -22,7 +22,7 @@ function teardown() {
|
||||||
|
|
||||||
function setup_file() {
|
function setup_file() {
|
||||||
# copy the custom DHE params in local config
|
# 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 \
|
docker run -d --name mail_manual_dhparams_not_one_dir \
|
||||||
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
-v "`pwd`/test/config":/tmp/docker-mailserver \
|
||||||
|
@ -35,7 +35,7 @@ function setup_file() {
|
||||||
|
|
||||||
function teardown_file() {
|
function teardown_file() {
|
||||||
# remove custom dhe 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
|
docker rm -f mail_manual_dhparams_not_one_dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue