]> diplodocus.org Git - nmh/commitdiff
Tweaked check of -outfile in test-mhstore.
authorDavid Levine <levinedl@acm.org>
Sun, 28 Apr 2013 18:07:31 +0000 (13:07 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 28 Apr 2013 18:07:31 +0000 (13:07 -0500)
test/mhstore/test-mhstore

index b332cd9..b92972b 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
 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 -
 check $expected "$actual" 'keep first'
 
 # check -outfile -