#!/bin/sh # # Copyright (c) 2010 Andreas Gruenbacher # test_description='git apply filename consistency check' . ./test-lib.sh test_expect_success setup ' cat > bad1.patch < bad2.patch <err grep "inconsistent new filename" err test_must_fail git apply bad2.patch 2>err grep "inconsistent old filename" err ' test_done