X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Frcv%2Ftest-rcvstore;h=82d270d7dfe9358e7bd8ca68050d1958d7d2386e;hb=0f0af4e32a4d734209c16282b63f7cb1094e2699;hp=0493bc2ba857621b4ed3a34e946b5d599d39e7ac;hpb=bb8db313c1deea588b83a44a86e653d3cfcac9c1;p=mmh diff --git a/test/rcv/test-rcvstore b/test/rcv/test-rcvstore index 0493bc2..82d270d 100755 --- a/test/rcv/test-rcvstore +++ b/test/rcv/test-rcvstore @@ -44,8 +44,8 @@ check $expected $actual # check -version case `$rcvstore -v` in rcvstore\ --*) ;; - * ) printf "$0: rcvstore -v generated unexpected output\n" >&2 - failed=`expr ${failed:-0} + 1`;; + * ) printf '%s: rcvstore -v generated unexpected output\n' "$0" >&2 + failed=`expr ${failed:-0} + 1`;; esac # check unknown switch @@ -194,7 +194,7 @@ check "${MH_TEST_DIR}/Mail/inbox/1" "${MH_TEST_DIR}/Mail/inbox/11" 'keep first' # check Msg-Protect profile entry msgprot=640 -printf "Msg-Protect: $msgprot\n" >>$MH +printf 'Msg-Protect: %s\n' "$msgprot" >>$MH $rcvstore <${MH_TEST_DIR}/Mail/inbox/1 >$actual 2>&1 check $expected $actual run_test "find ${MH_TEST_DIR}/Mail/inbox/11 -perm $msgprot" \