]> diplodocus.org Git - nmh/blobdiff - test/mhstore/test-mhstore
Fixed problem with m_getfld() with long headers reported by
[nmh] / test / mhstore / test-mhstore
index b332cd92cce3a1146bfbe7755ae67656abe4e732..d1f85427408d5dc6cc7779deae6c4f6ae60b665a 100755 (executable)
@@ -51,13 +51,12 @@ stored_contents=`mhstore -file - < $MH_TEST_DIR/Mail/inbox/5 2>&1 | \
 check $expected $stored_contents 'keep first'
 
 # check -outfile
 check $expected $stored_contents 'keep first'
 
 # check -outfile
-set +e
-mhstore 5 -outfile "$actual" 2>&1 | grep -v '^storing'
-set -e
+mhstore 5 -outfile "$actual" 2>&1 | grep -v '^storing' && \
+  echo unexpected output from test-mhstore check -outfile >&2
 check $expected "$actual" 'keep first'
 
 # check -outfile -
 check $expected "$actual" 'keep first'
 
 # check -outfile -
-echo 'storing message 5 to stdout' >> "$expected"
+echo 'storing message 5 to stdout' >>"$expected"
 mhstore 5 -outfile - >"$actual" 2>&1
 check $expected "$actual"
 
 mhstore 5 -outfile - >"$actual" 2>&1
 check $expected "$actual"