inc -silent -file "$mbox"
rm -f "$mbox" "$mbox.map"
- mhlist -verbose last | sed -e 's/ *$//' >"$actual"
+ mhlist -verbose last | sed -e 's/ *$//' -e 's/\(octet-stream\).*$/\1/' \
+ >"$actual"
(cd $MH_TEST_DIR/tmp &&
contents=`mhstore -noauto last 2>&1 | \
sed -e 's/storing message.*as file //'` &&
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
or
sendfiles [switches] recipient subject file1 [file2 ...]
switches are:
- -compress [bzip2 | compress | gzip | lzma | none | zip]
+ -compress [bzip2 | compress | gzip | lzma | none]
-from <sender>
-[delay] <delay> (expressed in seconds)
-version
[ "`findprog gzip`" ] && test_sendfiles 'gzip -cd' new -compress gzip
[ "`findprog gzip`" ] && test_sendfiles 'gzip -cd' new -gzip
[ "`findprog lzma`" ] && test_sendfiles 'lzma -cd' new -compress lzma
-[ "`findprog zip`" ] && test_sendfiles 'unzip -p' new -compress zip
# check with no compression
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check with no compression, -none
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check old argument style (without -to and -subject)
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check -from
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check PERSON environment variable
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check -delay, though for a small file it doesn't do anything
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF
# check old style -delay, though for a small file it doesn't do anything
cat >"$expected" <<EOF
msg part type/subtype size description
- 11 application/octet-stream 10K
+ 11 application/octet-stream
type="tar"
(extract with cat | tar xvpf -)
EOF