set -u . "$TESTSDIR"/test.inc mkdir conf db pool fakes old mkdir -p dists/sourcedistribution/main/binary-coal cp "$SRCDIR/docs/pdiff.example" conf/pdiff.py cat > conf/distributions < fakes/1 < Architecture: coal Version: 0.0-1 Filename: pool/main/5/5dchess/5dchess_0.0-1_coal.deb MD5sum: $EMPTYMD5ONLY Size: 0 Description: the lazy fox jumps over the quick brown dog. Package: a Priority: critical Section: required Installed-Size: 1 Maintainer: test Architecture: all Version: 1 Filename: pool/main/a/a/a_1_all.deb MD5sum: $EMPTYMD5ONLY Size: 0 Description: the lazy fox jumps over the quick brown dog. Package: b Source: baa Priority: critical Section: required Installed-Size: 1 Maintainer: test Architecture: coal Version: 2 Filename: pool/main/b/baa/b_2_coal.deb MD5sum: $EMPTYMD5ONLY Size: 0 Description: the lazy fox jumps over the quick brown dog. EOF cat > fakes/2 < Architecture: all Version: 2 Filename: pool/main/a/a/a_2_all.deb MD5sum: $EMPTYMD5ONLY Size: 0 Description: the lazy fox jumps over the quick brown dog. EOF testrun - -b . -C main -A coal -T deb _addpackage sourcedistribution fakes/1 a 3< addchecksums.rules < conf/updates < conf/updates <