projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed printf's in test suite.
[mmh]
/
test
/
repl
/
test-repl
diff --git
a/test/repl/test-repl
b/test/repl/test-repl
index
d9c39a1
..
0b5b483
100755
(executable)
--- a/
test/repl/test-repl
+++ b/
test/repl/test-repl
@@
-61,8
+61,8
@@
check $expected $actual
# check -version
case `repl -v` in
repl\ --*) ;;
# check -version
case `repl -v` in
repl\ --*) ;;
- * ) printf "$0: repl -v generated unexpected output\n" >&2
- failed=`expr ${failed:-0} + 1`;;
+ * ) printf '%s: repl -v generated unexpected output\n' "$0" >&2
+ failed=`expr ${failed:-0} + 1`;;
esac
# check unknown switch
esac
# check unknown switch
@@
-72,7
+72,7
@@
run_test "repl -nonexistent" 'repl: -nonexistent unknown'
run_test "repl" 'repl: no cur message'
run_test "repl" 'repl: no cur message'
-printf "Local-Mailbox: mymailbox@localhost%s\n" >> $MH
+printf 'Local-Mailbox: mymailbox@localhost\n' >> $MH
# check -cc me
cat >$expected <<EOF
# check -cc me
cat >$expected <<EOF
@@
-106,7
+106,7
@@
check $expected $actual
# check -cc me with Local- and Alternate-Mailbox addtions, Bug #36635:
# -nocc me doesn't account for Alternate-Mailboxes.
# check -cc me with Local- and Alternate-Mailbox addtions, Bug #36635:
# -nocc me doesn't account for Alternate-Mailboxes.
-printf "Alternate-Mailboxes: user@example.com\n" >> $MH
+printf 'Alternate-Mailboxes: user@example.com\n' >> $MH
cat >$expected <<EOF
From: mymailbox@localhost
cat >$expected <<EOF
From: mymailbox@localhost