5 t-tstunt-parsechangelog
16 t-dgit --no-rm-on-error clone $p
18 # And now we make an update using the same orig tarball, and
19 # check that the orig import is stable.
23 git branch first-import
25 m='Commit for import check'
26 echo "$m" >>import-check
29 dch -v $v -D unstable -m "$m"
31 git add import-check debian/changelog
34 t-dgit -wgf quilt-fixup
35 t-dgit -wgf build-source
37 # The resulting .dsc does not have a Dgit line (because dgit push
38 # puts that in). So we just shove it in the archive now
40 ln ../${p}_${v}.* $tmp/mirror/pool/main/
45 git branch first-2nd-import remotes/dgit/dgit/sid
49 git update-ref refs/remotes/dgit/dgit/sid first-import
54 t-ref-same refs/remotes/dgit/dgit/sid
55 t-ref-same refs/heads/first-2nd-import
57 for orig in ../${p}_${v%-*}.orig*.tar.*; do
59 pat="^Import ${orig//./\\.}\$"
61 for start in first-import first-2nd-import; do
62 git log --pretty='tformat:%H' --grep "$pat" $start \
64 test $(wc -l <../t.imp) = 1
66 t-ref-same-val "$orig $start" "$imp"
72 chk() { chk1 "$@"; chk2; }
77 # 3.0 (quilt), multiple patches, multiple origs
80 # 3.0 (quilt), single-debian-patch, one orig
81 chk sunxi-tools 1.2-2.~~dgittest