projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.sv.nongnu.org:/srv/git/nmh
[mmh]
/
test
/
forw
/
test-forw-digest
diff --git
a/test/forw/test-forw-digest
b/test/forw/test-forw-digest
index
8bdc949
..
ff39ddd
100755
(executable)
--- a/
test/forw/test-forw-digest
+++ b/
test/forw/test-forw-digest
@@
-24,7
+24,7
@@
cc4="CC User Four <ccuserfour@example.com>"
fcc1="+nosuchmailbox"
fcc2="+nosuchmailbox2"
fcc1="+nosuchmailbox"
fcc2="+nosuchmailbox2"
-digestdate=$(date "+%A, %d %b %G")
+digestdate=`date "+%A, %e %b %Y"`
cat > "$expected" <<EOF
From: ${from}
cat > "$expected" <<EOF
From: ${from}
@@
-50,14
+50,14
@@
EOF
i=1
while [ "$i" -le 6 ]
do
i=1
while [ "$i" -le 6 ]
do
- filename=$(mhpath +inbox $i)
+ filename=`mhpath +inbox $i`
cat $filename >> "$expected"
cat >> "$expected" <<EOF
------------------------------
EOF
cat $filename >> "$expected"
cat >> "$expected" <<EOF
------------------------------
EOF
- i=$(expr $i + 1)
+ i=`expr $i + 1`
done
cat >> "$expected" <<EOF
done
cat >> "$expected" <<EOF
@@
-72,6
+72,8
@@
forw -editor true -from "${from}" -to "${to1}" -to "${to2}" \
check "${expected}" "${actual}"
check "${expected}" "${actual}"
+rm -f "${actual}"
+
#
# Once more, but taking some of the defaults
#
#
# Once more, but taking some of the defaults
#
@@
-94,14
+96,14
@@
EOF
i=7
while [ "$i" -le 8 ]
do
i=7
while [ "$i" -le 8 ]
do
- filename=$(mhpath +inbox $i)
+ filename=`mhpath +inbox $i`
cat $filename >> "$expected"
cat >> "$expected" <<EOF
------------------------------
EOF
cat $filename >> "$expected"
cat >> "$expected" <<EOF
------------------------------
EOF
- i=$(expr $i + 1)
+ i=`expr $i + 1`
done
cat >> "$expected" <<EOF
done
cat >> "$expected" <<EOF