diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-02-27 01:42:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-27 01:42:35 +0100 |
commit | 4d06691eeca5712319a7e8cf2085d081dca9ea47 (patch) | |
tree | 961407cb13c26eeeea6aff0af9146e33eea3d75c /t/t4150-am.sh | |
parent | git-p4: remove bash-ism in t9800 (diff) | |
parent | Git 1.7.8.5 (diff) | |
download | git-4d06691eeca5712319a7e8cf2085d081dca9ea47.tar.xz git-4d06691eeca5712319a7e8cf2085d081dca9ea47.zip |
Sync with 1.7.8.5
Diffstat (limited to 't/t4150-am.sh')
-rwxr-xr-x | t/t4150-am.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t4150-am.sh b/t/t4150-am.sh index 7e6e59aefe..00d669a3c9 100755 --- a/t/t4150-am.sh +++ b/t/t4150-am.sh @@ -495,4 +495,14 @@ test_expect_success 'am -q is quiet' ' ! test -s output.out ' +test_expect_success 'am empty-file does not infloop' ' + rm -fr .git/rebase-apply && + git reset --hard && + touch empty-file && + test_tick && + { git am empty-file > actual 2>&1 && false || :; } && + echo Patch format detection failed. >expected && + test_cmp expected actual +' + test_done |