]> diplodocus.org Git - nmh/commitdiff
test-msgchk: Send msgchk's stderr down pipe; don't discard.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 11:45:32 +0000 (11:45 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 20 Jan 2018 11:49:23 +0000 (11:49 +0000)
Present since original 26ac907a.

test/inc/test-msgchk

index 4ac4554..173a76d 100755 (executable)
@@ -41,7 +41,7 @@ Usage: msgchk [switches] [users ...]
   -help
 EOF
 
-run_prog msgchk -help | head -9 >"$actual" 2>&1
+run_prog msgchk -help 2>&1 | head -9 >"$actual"
 check "$expected" "$actual"
 
 # check -version