set -u . "$TESTSDIR"/test.inc dodo test ! -d db mkdir -p conf dists echo "export silent-never" > conf/options cat > conf/updatelog.sh <> '$WORKDIR/updatelog' exit 0 EOF cat > conf/shouldnothappen.sh <> '$WORKDIR/shouldnothappen' exit 0 EOF chmod a+x conf/updatelog.sh conf/shouldnothappen.sh cat > conf/distributions < conf/updates <=firmware/), section(<< firmware0) Name: 1 From: pre1 Suite: x Name: 2 Flat: main From: b #without this I do not get a warning, why? Architectures: abacus coal source FilterFormula: section (<= firmware0) | !section Suite: x Name: 5 From: b Name: 6 From: b Name: 7 From: b Name: 8 From: b EOF DISTRI=dummy PACKAGE=aa EPOCH="" VERSION=1 REVISION=-1000 SECTION="base" genpackage.sh -sa DISTRI=dummy PACKAGE=bb EPOCH="" VERSION=2 REVISION=-0 SECTION="firmware/base" genpackage.sh -sa DISTRI=dummy PACKAGE=cc EPOCH="" VERSION=1 REVISION=-1000 SECTION="base" genpackage.sh -sa DISTRI=dummy PACKAGE=dd EPOCH="" VERSION=2 REVISION=-0 SECTION="firmware/base" genpackage.sh -sa mkdir source1/pool source1/pool/main source1/pool/firmware mv aa* source1/pool/main mv bb* source1/pool/firmware mv cc* source2 mv dd* source2 mkdir source2/x cd source2 echo 'dpkg-scanpackages . /dev/null > x/Packages' dpkg-scanpackages . /dev/null > x/Packages cd .. cat > sourcesections < x/Sources' dpkg-scansources . ../sourcesections > x/Sources cd .. rm sourcesections cat > source2/x/InRelease < dists/suitename/main/source/Sources dpkg-scanpackages pool/main /dev/null > dists/suitename/main/binary-abacus/Packages dpkg-scanpackages -a coal pool/main /dev/null > dists/suitename/main/binary-coal/Packages dpkg-scansources pool/firmware /dev/null > dists/suitename/firmware/source/Sources dpkg-scanpackages pool/firmware /dev/null > dists/suitename/firmware/binary-abacus/Packages dpkg-scanpackages -a coal pool/firmware /dev/null > dists/suitename/firmware/binary-coal/Packages cd .. cat > source1/dists/suitename/InRelease < source1/dists/suitename/InRelease < source1/dists/suitename/InRelease < dists/suitename/main/source/Sources dpkg-scanpackages pool/main /dev/null > dists/suitename/main/binary-abacus/Packages dpkg-scanpackages -a coal pool/main /dev/null > dists/suitename/main/binary-coal/Packages dpkg-scansources pool/firmware /dev/null > dists/suitename/firmware/source/Sources dpkg-scanpackages pool/firmware /dev/null > dists/suitename/firmware/binary-abacus/Packages dpkg-scanpackages -a coal pool/firmware /dev/null > dists/suitename/firmware/binary-coal/Packages cd .. cat > source1/dists/suitename/InRelease < results.expected <