diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-26 12:06:31 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-26 13:24:50 +0100 |
commit | 65bfecf7405f3e37c25222b7f16e38edce81b5fa (patch) | |
tree | 0bce64d43e11c8131177816fb695843150330d74 /tests | |
parent | 08e1656e5fdb1899346dbb7ca5f57e78d412bc2a (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/lib | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |