chiark / gitweb /
test suite: Separate t-gdr-gbp-import-core from -with-queue
[dgit.git] / tests / tests / gdr-import-nostitch
1 #!/bin/bash
2 set -e
3 autoimport=
4 . tests/lib
5 . $troot/lib-gdr
6
7 t-dependencies GDR
8
9 t-tstunt-parsechangelog
10
11 t-gdr-gbp-import-core-with-queue
12
13 git checkout master
14
15 git tag -m synthetic debian/1.0-1
16
17 echo '# comment' >>debian/patches/series
18 git add debian/patches/series
19 git commit -m 'add a comment'
20
21 t-expect-fail F:-fseries-comments \
22 t-git-debrebase -fupstream-has-debian -funused-patches convert-from-gbp
23
24 t-git-debrebase -fupstream-has-debian -funused-patches -fseries-comments \
25   convert-from-gbp \
26   2>&1 | tee ../convert-msg
27
28 grep -e 'dgit --overwrite will be needed' ../convert-msg >/dev/null
29
30 t-ok