set -u . "$TESTSDIR"/test.inc mkdir gpgtestdir chmod go-rwx gpgtestdir export GNUPGHOME="`pwd`/gpgtestdir" gpg --import $TESTSDIR/good.key $TESTSDIR/evil.key $TESTSDIR/expired.key $TESTSDIR/revoked.key $TESTSDIR/expiredwithsubkey-working.key $TESTSDIR/withsubkeys-works.key CURDATE="$(date +"%Y-%m-%d")" mkdir conf lists cat > conf/distributions < conf/updates < conf/updates < conf/updates < conf/updates < test/dists/test/Release < conf/updates < conf/updates < conf/updates < conf/updates < conf/updates < test/dists/test/InRelease <<'EOF' -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Codename: test Components: everything Architectures: coal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iKIEAQECAAwFAk+6EiEFgwABUYAACgkQFU9je/YsbTv4LgP8DkaRBhBG7+JDD1N1 GANCsth4rzKDfpyMrttFjW6Ra9QegDdnHyLz09IL5Hyzmst4s8DQ69q2LyZaQt3+ 0C2OG9iQ2GjQt8xvppDufvymFpqTbqnGn/LeG6KjP542Su8XZxptFPT2DyPNCe0W Vz5f8yupwc67sAWj/qhmBEpZp9E= =025V -----END PGP SIGNATURE----- EOF testrun - -b . update Test 3< test/dists/test/InRelease <