1 # Check that diff falls back to binary mode if it cannot decode a file.
3 # RUN: diff -u diff-in.bin diff-in.bin
4 # RUN: diff -u diff-in.utf16 diff-in.bin && false || true
5 # RUN: diff -u diff-in.utf8 diff-in.bin && false || true
6 # RUN: diff -u diff-in.bin diff-in.utf8 && false || true
8 # Fail so lit will print output.