X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fpost%2Ftest-post-aliases;h=ee06f2884ffdb0c9bf67c587479f1ae83e056c8f;hb=0f0af4e32a4d734209c16282b63f7cb1094e2699;hp=6030ad13e0d3f33edde8ead36926190043225787;hpb=bb8db313c1deea588b83a44a86e653d3cfcac9c1;p=mmh diff --git a/test/post/test-post-aliases b/test/post/test-post-aliases index 6030ad1..ee06f28 100755 --- a/test/post/test-post-aliases +++ b/test/post/test-post-aliases @@ -27,7 +27,7 @@ EOF #### Rely on sendmail/smtp or sendmail/pipe below to override default mts. mts_fakesendmail="${MHMTSCONF}-fakesendmail" cp "${MHMTSCONF}" "$mts_fakesendmail" -printf "sendmail: ${srcdir}/test/fakesendmail\n" >>"$mts_fakesendmail" +printf 'sendmail: %s/test/fakesendmail\n' "$srcdir" >>"$mts_fakesendmail" MHMTSCONF="$mts_fakesendmail" # $1: -mts switch selection @@ -59,14 +59,14 @@ test_alias () send -draft -alias "${MH_TEST_DIR}/Mail/aliases" -mts sendmail/pipe \ >"${testname}.actual" 2>&1 if [ $? -eq 0 ]; then - printf "$0: sendmail/pipe should have failed but didn't\n" + printf '%s: sendmail/pipe should have failed but didn'"'"'t\n' "$0" else set -e check "${testname}.actual" "$2" fi else - printf "$0: invalid -mts switch selection\n" + printf '%s: invalid -mts switch selection\n' "$0" exit 1 fi }