blob: ee4b344064d008b4c8a88ef0a542b09a35ddfa28 (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/bash
set -e
. tests/lib
t-archive pari-extra 3-1
t-git pari-extra 3-1
t-dgit clone $p
cd $p
t-cloned-fetched-good
v=3-2~dummy1
t-apply-diff 3-1 $v
debcommit -a
t-refs-same-start
t-ref-head
t-dgit --dpkg-buildpackage:-d build
cd ..
mkdir bpd
mv $p*_* bpd/
mv bpd/*orig* .
cd $p
t-dgit --build-products-dir=../bpd push-built
t-pushed-good dgit/sid
cd ..
for f in ${p}_*.orig.*; do
in_ddd=$( stat -c %D:%i -L $f )
in_bpd=$( stat -c %D:%i -L bpd/$f )
test $in_ddd = $in_bpd
done
t-ok
|