t/regress: debug output on error status
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 9 Dec 2022 20:27:48 +0000 (21:27 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 12 Dec 2022 22:56:34 +0000 (23:56 +0100)
t/regress.t

index 06d926e969ca339534592f1fb1e31e14b4f5c7b6..a382f43fb113b97ab76666b1ec9591d1ff83d4d9 100755 (executable)
@@ -69,6 +69,7 @@ for my $candidate (@params) {
        if ($error != $wantexit) {
                fail($name);
                diag("unexpected exit status $error");
+               diag(color(31), '> ', color(0), $_) for @lines;
                diag("command: $script");
                next;
        }