summaryrefslogtreecommitdiff
path: root/tests/tests/push-buildproductsdir
diff options
context:
space:
mode:
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