summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 12:06:31 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 13:24:50 +0100
commit65bfecf7405f3e37c25222b7f16e38edce81b5fa (patch)
tree0bce64d43e11c8131177816fb695843150330d74 /tests
parent08e1656e5fdb1899346dbb7ca5f57e78d412bc2a (diff)
test suite: build-products-dir: Check nothing in ../
If bpd was set then .. shouldn't have this kind of junk in it. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index eb34c6b..57b9e38 100644
--- a/tests/lib
+++ b/tests/lib
@@ -404,6 +404,13 @@ t-git-fsck () {
esac
}
+t-check-only-bpd () {
+ if [ "$bpd" = .. ]; then return; fi
+ t-files-notexist \
+ ../*.{deb,changes,dsc,buildinfo} \
+ ../*.{tar,diff}.*
+}
+
t-fscks () {
(
shopt -s nullglob
@@ -416,6 +423,7 @@ t-fscks () {
t-ok () {
: '========================================'
+ t-check-only-bpd
t-fscks
t-save-artifacts
echo ok.