chiark / gitweb /
dgit-repos-server: tests: remove obsolete files
[dgit.git] / tests / tests / quilt
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-archive ruby-rails-3.2 3.2.6-1
6 t-git-none
7
8 mkdir -p incoming
9 cd incoming
10 t-worktree test
11 cd ..
12
13 t-dgit clone $p
14
15 cd $p
16 t-cloned-fetched-good
17
18 git fetch $tmp/incoming/$p dgit/sid:incoming
19
20 dummy=0
21
22 for cherry in incoming~1 incoming~0; do
23         git cherry-pick -x $cherry
24
25         dummy=$(( $dummy + 1))
26         v=3.2.6-2~dummy${dummy}
27
28         t-refs-same-start
29         t-dgit --dpkg-buildpackage:-d build
30         t-dgit push
31         t-pushed-good dgit/sid
32 done
33
34 t-822-field ../${p}_${v}_*.changes Changes |
35  grep -Fx 'ruby-rails-3.2 (3.2.6-2~dummy1) unstable; urgency=low'
36
37 echo ok.