blob: 1d74da3b54d1961983bdd06322cead0ebd6ae420 (
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
|
#!/bin/bash
set -e
. tests/lib
t-dependencies git-buildpackage libfile-fnmatch-perl
t-setup-import gbp2gdr
cd $p
t-git-debrebase analyse |tee ../anal.1
cat ../anal.1
echo >>debian/zorkmid '// debian'
git add debian/zorkmid
git commit -m 'DEBIAN add zorkmid'
echo >>src.c '// upstream'
git commit -a -m 'UPSTREAM edit src.c'
for f in debian/zorkmid src.c; do
echo '// both!' >>$f
git add $f
done
git commit -m 'MIXED add boths'
t-ok
|