From 65bfecf7405f3e37c25222b7f16e38edce81b5fa Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 26 Aug 2018 12:06:31 +0100 Subject: 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 --- tests/lib | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/lib') 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. -- cgit v1.2.3