From: David Levine Date: Fri, 1 Feb 2013 01:44:47 +0000 (-0600) Subject: Removed sizes from mhlist output. Apparently tar files are X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/7d0ecf39c2db52c814b10653d31d4a4f9c278bee?hp=8a97d4892770a49955add690ac2a53bdc6bf2fcf Removed sizes from mhlist output. Apparently tar files are so much smaller on Solaris that they cause the check of its output to break. The test also compares the contents of the tar file, so it's still adequate. --- diff --git a/test/post/test-sendfiles b/test/post/test-sendfiles index 687c5d9b..af5573ea 100755 --- a/test/post/test-sendfiles +++ b/test/post/test-sendfiles @@ -60,7 +60,8 @@ test_sendfiles () 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 //'` && @@ -140,7 +141,7 @@ Usage: sendfiles [switches] -to recipient \ # check with no compression cat >"$expected" <"$expected" <"$expected" <"$expected" <' # check PERSON environment variable cat >"$expected" <"$expected" <"$expected" <