"diff --check" should affect exit status