From 5c3ea03dca9f89f01ebc1f74ca88e3b32414b7ea Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 3 Sep 2024 02:49:06 +0100 Subject: [PATCH] testsuite: If validation result is not as expected, log the diff It's easier to diagnose test failures if everything (within reason) is in the build log. Signed-off-by: Simon McVittie --- testsuite/tools/validate | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/tools/validate b/testsuite/tools/validate index 35e3489f1e..ed9adb62b6 100755 --- a/testsuite/tools/validate +++ b/testsuite/tools/validate @@ -32,6 +32,7 @@ for t in ${TESTS[*]}; do echo "ok $I $name" rm "$diff" else + sed -e 's/^/# /' < "$diff" echo "not ok $I $name" cp "$expected" "$ref" fi