1#!/bin/sh23test_description='git apply should exit non-zero with unrecognized input.'45. ./test-lib.sh67test_expect_success 'setup' '8test_commit 19'1011test_expect_success 'apply --check exits non-zero with unrecognized input' '12test_must_fail git apply --check - <<-\EOF13I am not a patch14I look nothing like a patch15git apply must fail16EOF17'1819test_done