From 989f6912819f0644a7780eead32031239b15cbaf Mon Sep 17 00:00:00 2001 From: Michael Sprauer Date: Tue, 30 Jun 2020 22:34:26 +0200 Subject: [PATCH] fix tests with space in path --- test/mail_dhparams_manual_not_one_dir.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mail_dhparams_manual_not_one_dir.bats b/test/mail_dhparams_manual_not_one_dir.bats index ae98ccff..36e2f926 100644 --- a/test/mail_dhparams_manual_not_one_dir.bats +++ b/test/mail_dhparams_manual_not_one_dir.bats @@ -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 }