1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-12 08:47:54 +01:00
slackware-current/source/l/libxslt/0001-runtest-Print-output-causing-failure.patch
Patrick J Volkerding 7517156beb Sat Jun 15 20:51:59 UTC 2024
a/kernel-firmware-20240614_d95dff8-noarch-1.txz:  Upgraded.
a/sysvinit-scripts-15.1-noarch-19.txz:  Rebuilt.
  rc.S: add special case for mounting root bcachefs partition(s).
  Thanks to 0XBF.
ap/man-pages-6.9-noarch-1.txz:  Upgraded.
l/libxslt-1.1.40-x86_64-2.txz:  Rebuilt.
  [PATCH] runtest: Print output causing failure.
  [PATCH] tests: Fix tests for libxml2 fix.
  Thanks to USUARIONUEVO.
n/ca-certificates-20240615-noarch-1.txz:  Upgraded.
  This update provides the latest CA certificates to check for the
  authenticity of SSL connections.
2024-06-15 23:31:46 +02:00

33 lines
1.1 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sat, 15 Jun 2024 00:22:58 +0200
Subject: [PATCH] runtest: Print output causing failure
---
tests/runtest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/runtest.c b/tests/runtest.c
index 56eb31f1dc8c..fea4bd3c61f4 100644
--- a/tests/runtest.c
+++ b/tests/runtest.c
@@ -668,17 +668,17 @@ xsltTest(const char *filename, int options) {
res = compareFileMem(outFilename, (char *) out, outSize);
if (res != 0) {
fprintf(stderr, "Result for %s failed\n", filename);
- /* printf("####\n%s####\n", out); */
+ printf("####\n%s####\n", out);
ret = -1;
}
free(outFilename);
xmlFree(out);
errFilename = changeSuffix(filename, errSuffix);
res = compareFileMem(errFilename, testErrors, testErrorsSize);
if (res != 0) {
fprintf(stderr, "Error for %s failed\n", filename);
- /* printf("####\n%s####\n", testErrors); */
+ printf("####\n%s####\n", testErrors);
ret = -1;
}
free(errFilename);