5 t-archive ruby-rails-3.2 3.2.6-1
8 cp $troot/pkg-srcs/${p}_3.2.6.orig.tar.gz .
12 t-dgit --quilt=smash -wgf quilt-fixup
15 t-dgit -wg --dpkg-buildpackage:-d build
18 expect-fail-distro-series () {
21 E:"Found active distro-specific series file.*(.*$why.*)" \
25 mkdir -p debian/patches
27 cat >debian/patches/boo <<'END'
29 Author: Ian Jackson <ijackson@chiark.greenend.org.uk>
39 echo boo >debian/patches/test-dummy.series
41 git add debian/patches/boo
42 git add debian/patches/test-dummy.series
43 t-commit 'Add boo (on test-dummy)' 3.2.6-2
45 expect-fail-distro-series 'distro being accessed' \
48 defaultvendor=$(perl -we '
50 print lc Dpkg::Vendor::get_current_vendor
52 git mv debian/patches/test-dummy.series \
53 debian/patches/$defaultvendor.series
54 t-commit 'Move boo (to default vendor)' 3.2.6-3
56 expect-fail-distro-series 'current vendor' \
59 git mv debian/patches/$defaultvendor.series \
60 debian/patches/test-dummy-aside.series
61 t-commit 'Move boo (to test-dummy-aside)' 3.2.6-4
65 DEB_VENDOR=test-dummy-aside \
66 expect-fail-distro-series DEB_VENDOR \
72 perl -i~ -pe 's/^Dgit:.*\n//' incoming/${p}_${v}.dsc
73 t-archive-process-incoming sid
77 DEB_VENDOR=test-dummy-aside \
78 expect-fail-distro-series DEB_VENDOR \