summaryrefslogtreecommitdiff
path: root/tests/tests/push-buildproductsdir
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-01-11 19:49:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-01-11 19:49:30 -0700
commitdf8063712cda636af284e8527ee2a4b8c110ab40 (patch)
tree46668ca31f3be25290bb8121987fa44d8b835146 /tests/tests/push-buildproductsdir
parentbed7c91d1969ccf5093e978c2ed7a1ffaa5fed4a (diff)
parent96a6bde132c9d9c7e0baa1dd9add0696e96d6802 (diff)
Merge tag 'debian/8.3' into stretch-bpo
dgit release 8.3 for unstable (sid) [dgit] [dgit distro=debian] # gpg: Signature made Sun 06 Jan 2019 05:15:52 PM MST # gpg: using RSA key 559AE46C2D6B6D3265E7CBA1E3E3392348B50D39 # gpg: Can't check signature: No public key
Diffstat (limited to 'tests/tests/push-buildproductsdir')
-rwxr-xr-xtests/tests/push-buildproductsdir8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tests/push-buildproductsdir b/tests/tests/push-buildproductsdir
index 505d105..cc1c5e2 100755
--- a/tests/tests/push-buildproductsdir
+++ b/tests/tests/push-buildproductsdir
@@ -22,10 +22,18 @@ t-dgit --dpkg-buildpackage:-d build
cd ..
mkdir bpd
mv $p*_* bpd/
+mv bpd/*orig* .
cd $p
t-dgit --build-products-dir=../bpd push
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