]> diplodocus.org Git - nmh/commitdiff
test-subpart: Send mhshow's stderr down pipe; don't discard.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 07:33:36 +0000 (07:33 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 07:39:46 +0000 (07:39 +0000)
Fixes 2f1e191a.

test/mhshow/test-subpart

index 9529e8ee7fe07457b35d80416091ae1acaf511ca..d5ca6100ecd50fda88b68fc4258b7e1835cd24c6 100755 (executable)
@@ -136,8 +136,8 @@ EOF
 
   # check it
   start_test 'text/html part'
 
   # check it
   start_test 'text/html part'
-  run_prog mhshow -part 1.1.1 -form mhl.null $msgnum |
-      squeeze_whitespace > $actual 2>&1
+  run_prog mhshow -part 1.1.1 -form mhl.null $msgnum 2>&1 |
+      squeeze_whitespace >$actual
   check "$expected" "$actual" : part 1.1.1
 fi
 
   check "$expected" "$actual" : part 1.1.1
 fi