summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-import-nostitch
blob: c32b71e6f2efe514042d8b65b18a72105a8d5cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -e
autoimport=
. tests/lib
. $troot/lib-gdr

t-dependencies GDR

t-tstunt-parsechangelog

t-gdr-gbp-import-core-with-queue

git checkout master

git tag -m synthetic debian/1.0-1

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

t-ok