Compare commits

...

1 Commits

Author SHA1 Message Date
Simon McVittie
5c3ea03dca 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 <smcv@debian.org>
2024-09-03 02:49:06 +01:00

View File

@@ -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