]> diplodocus.org Git - nmh/blobdiff - test/mhstore/test-mhstore
Tweaked check of -outfile in test-mhstore.
[nmh] / test / mhstore / test-mhstore
index b332cd92cce3a1146bfbe7755ae67656abe4e732..b92972b3e8dadab3b589e576a69c27bedfbe8084 100755 (executable)
@@ -51,9 +51,8 @@ stored_contents=`mhstore -file - < $MH_TEST_DIR/Mail/inbox/5 2>&1 | \
 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
 check $expected "$actual" 'keep first'
 
 # check -outfile -