chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: debpolicy-taintrm: Drop some xxx's
[dgit.git]
/
tests
/
tests
/
push-buildproductsdir
diff --git
a/tests/tests/push-buildproductsdir
b/tests/tests/push-buildproductsdir
index 987c081833e4e213e743bc90d490b635631f6109..cc1c5e2c31803998bc40eb0d11b12fa98ee7ce3a 100755
(executable)
--- 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/
cd ..
mkdir bpd
mv $p*_* bpd/
+mv bpd/*orig* .
cd $p
t-dgit --build-products-dir=../bpd push
t-pushed-good dgit/sid
cd $p
t-dgit --build-products-dir=../bpd push
t-pushed-good dgit/sid
-echo ok.
+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