Merge pull request #3095 from kiike/pr-portable-runner.sh
Fix runner.sh compatibility with OpenBSD and FreeBSD
This commit is contained in:
commit
c10b4e4b10
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue