ports/x11/awesome/patches/patch-tests_examples_runner_sh

12 lines
397 B
Text

Index: tests/examples/runner.sh
--- tests/examples/runner.sh.orig
+++ 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