cmp

(cmp <file1> <file2>)

(cmp <file1> <file2>) is similar to (run cmp <file1> <file2>) but allows promotion. See Diffing and Promotion for more details.

Example:

(cmp bin.expected bin.output)