]> diplodocus.org Git - nmh/blobdiff - test/pick/test-stderr
test-charset: Divulge mhshow output if iconv_open(3) doesn't gripe.
[nmh] / test / pick / test-stderr
index e45e13d27f66fb5b17661a2987fc1021c999eb92..76b899d34e5fa2e9cd4a763591fc5a290918ef4d 100755 (executable)
@@ -28,6 +28,6 @@ EOF
 # Nothing should to go stdout.
 cat /dev/null > $expected_out
 
 # Nothing should to go stdout.
 cat /dev/null > $expected_out
 
-pick -a > $actual_out 2> $actual_err
-diff -u $expected_err $actual_err || exit 1
-diff -u $expected_out $actual_out || exit 1
+run_prog pick -a > $actual_out 2> $actual_err  ||  true
+check "$expected_err" "$actual_err"
+check "$expected_out" "$actual_out"