Description: If help/usage tests fail, display what was printed
 Currently mythtv-status fails reproducible builds due to the usage and help output
 being different from what is expected. Print was is generated to aid debugging as
 it works for me and on the buildds.

 I'll include this diag upstream as well, but want faster turn around for testing.
Author: Andrew Ruthven
Origin: upstream
Forwarded: not-needed
Last-Update: 2025-01-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/t/01-test-help.t
+++ b/t/01-test-help.t
@@ -25,7 +25,8 @@
 
 EOF
 
-ok($out eq $expected, 'Invalid option returns help blurb');
+ok($out eq $expected, 'Invalid option returns help blurb')
+    || diag("Output from mythtv-status:\n$out");
 
 # Check the help output, using --help.
 $out = `$Bin/../bin/mythtv-status --help 2>&1`;
@@ -133,4 +134,5 @@
 
 EOF
 
-ok($out eq $expected, '--help generates help output');
+ok($out eq $expected, '--help generates help output')
+    || diag("Output from mythtv-status:\n$out");
