X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Ftagupl-baredebian;fp=tests%2Ftests%2Ftagupl-baredebian;h=b485abb9e108dabc8c11d45a4d90690ffea43aec;hp=764debdcb28068d82ecaa568e4008ff4f8ab33b1;hb=4bbb0ea95dcf9be8e26f19424ad3b5269a556783;hpb=f6f6419eca67882b47632875d2ee7163f4d005c7;ds=sidebyside diff --git a/tests/tests/tagupl-baredebian b/tests/tests/tagupl-baredebian index 764debdc..b485abb9 100755 --- a/tests/tests/tagupl-baredebian +++ b/tests/tests/tagupl-baredebian @@ -17,7 +17,18 @@ t-tagupl-settings baredebian-test-minimum baredebian-test-core-prepush + +sed -i '15icorruption' debian/patches/0002-Edit-the-.c-file.patch +git add debian/patches/0002-Edit-the-.c-file.patch +git commit -m"corrupt a quilt patch to test the patches-applicable check" + tagname=test-dummy/$v + +t-expect-fail "'git apply' failed to apply patch 0002-Edit-the-.c-file.patch ('patches-applicable' check)" \ +t-tagupl-test --baredebian + +git reset --hard HEAD~1 + t-tagupl-test --baredebian git branch split.p dgit/dgit/sid # we didn't generate this here