chiark / gitweb /
test suite: gdr-import-nostitch: Test -fseries-comments
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2018 20:12:58 +0000 (21:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2018 20:12:58 +0000 (21:12 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-import-nostitch

index 9eeb94eef751ebc4a17c63334badc84ab260dfda..c1a52574def3b12ab549907dde10978faf2babaf 100755 (executable)
@@ -14,7 +14,15 @@ git checkout master
 
 git tag -m synthetic debian/1.0-1
 
 
 git tag -m synthetic debian/1.0-1
 
-t-git-debrebase -fupstream-has-debian -funused-patches convert-from-gbp \
+echo '# comment' >>debian/patches/series
+git add debian/patches/series
+git commit -m 'add a comment'
+
+t-expect-fail F:-fseries-comments \
+t-git-debrebase -fupstream-has-debian -funused-patches convert-from-gbp
+
+t-git-debrebase -fupstream-has-debian -funused-patches -fseries-comments \
+  convert-from-gbp \
   2>&1 | tee ../convert-msg
 
 grep -e 'dgit --overwrite will be needed' ../convert-msg >/dev/null
   2>&1 | tee ../convert-msg
 
 grep -e 'dgit --overwrite will be needed' ../convert-msg >/dev/null