Fix runner.sh compatibility with OpenBSD and FreeBSD

This commit is contained in:
Enric Morales 2020-05-09 14:19:10 +02:00
parent 9781f14b10
commit 21d916828f
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ then
fi fi
# Check if we got the output we wanted # Check if we got the output we wanted
if ! cmp --silent "${file_stdout}" "${expected_output}" if ! cmp -s "${file_stdout}" "${expected_output}"
then then
echo "Expected text from ${expected_output}, but got:" echo "Expected text from ${expected_output}, but got:"
diff -u "${expected_output}" "${file_stdout}" || true diff -u "${expected_output}" "${file_stdout}" || true