chiark / gitweb /
git-debrebase: test: check branch structure, more
[dgit.git] / tests / tests / quilt-singlepatch
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-archive sunxi-tools 1.2-2.~~dgittest
6 t-git-none
7
8 t-dgit clone $p
9 cd $p
10 t-cloned-fetched-good
11
12 echo EXTRA-LINE-1 >>fel.c
13 echo EXTRA-LINE-2 >>fel.c
14 echo EXTRA-LINE-3 >>.gitignore
15
16 git add fel.c .gitignore
17
18 t-commit 'commit our stuff' 1.2-3
19
20 t-dgit -wgf quilt-fixup
21
22 t-refs-same-start
23 t-ref-head
24
25 t-dgit -wgf build-source
26
27 t-dgit push
28 t-pushed-good dgit/sid
29
30 diff <<END - debian/patches/series
31 debian-changes
32 END
33
34 diff <<END - <(ls debian/patches)
35 debian-changes
36 series
37 END
38
39 t-ok