summaryrefslogtreecommitdiff
path: root/testsuite/testsuite.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/testsuite.c')
-rw-r--r--testsuite/testsuite.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/testsuite.c b/testsuite/testsuite.c
index 686f188..8512b56 100644
--- a/testsuite/testsuite.c
+++ b/testsuite/testsuite.c
@@ -423,6 +423,12 @@ static inline bool test_run_parent_check_outputs(const struct test *t,
buf[r] = '\0';
bufmatch[r] = '\0';
+
+ if (t->print_outputs)
+ printf("%s: %s\n",
+ fd_match == fd_matchout ? "STDOUT:" : "STDERR:",
+ buf);
+
if (!streq(buf, bufmatch)) {
ERR("Outputs do not match on %s:\n",
fd_match == fd_matchout ? "STDOUT" : "STDERR");