]> diplodocus.org Git - nmh/commitdiff
test-whom: Send whom's stderr down pipe; don't discard.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 11:48:30 +0000 (11:48 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 11:49:23 +0000 (11:49 +0000)
Fixes 2a02eef3.

test/whom/test-whom

index e8341a5..6563a7e 100755 (executable)
@@ -50,7 +50,7 @@ Usage: whom [switches] [file]
   -help
 EOF
 
-run_prog whom -help | head -10 >$actual 2>&1
+run_prog whom -help 2>&1 | head -10 >$actual
 check $expected $actual
 
 # check -version