From 21d916828fdab54289ff2dfad3f1567bd7afbaef Mon Sep 17 00:00:00 2001 From: Enric Morales Date: Sat, 9 May 2020 14:19:10 +0200 Subject: [PATCH] Fix runner.sh compatibility with OpenBSD and FreeBSD --- tests/examples/runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/runner.sh b/tests/examples/runner.sh index 3084e934..a20ed93e 100755 --- a/tests/examples/runner.sh +++ b/tests/examples/runner.sh @@ -45,7 +45,7 @@ then fi # Check if we got the output we wanted -if ! cmp --silent "${file_stdout}" "${expected_output}" +if ! cmp -s "${file_stdout}" "${expected_output}" then echo "Expected text from ${expected_output}, but got:" diff -u "${expected_output}" "${file_stdout}" || true