diff options
Diffstat (limited to 'tests/tests')
-rwxr-xr-x | tests/tests/pbuilder | 2 | ||||
-rwxr-xr-x | tests/tests/push-buildproductsdir | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/tests/pbuilder b/tests/tests/pbuilder index 2c9dbae..56eed0b 100755 --- a/tests/tests/pbuilder +++ b/tests/tests/pbuilder @@ -23,7 +23,7 @@ t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" pbuilder -b # it would be nice to try passing -g on the end of the following line # to confirm it gets massaged into -A, but the example package is # RC-buggy in that it doesn't build with -A .. -t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" pbuilder +t-dgit -v0 --pbuilder="$troot/pretend-pbuilder" --pbuilder!:--no-source-only-changes pbuilder t-dgit -wgf push --new 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 |