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/Release.gpg <<'EOF' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iKIEAAECAAwFAknjKV8FgwABUYAACgkQFU9je/YsbTvOMwQAhyMjhSCosJtdvMSV l3OUSmHplKZZizJDO9YqO/018I2iSWgpnRxsEX4kmf07qwHjUOYXF3ezaEYWoK1H B5rLqWuju5lwXpPjOF1b1X/0lzyBmLT380gbMa9Nkgjxq2viX/eP9UJKeKKidmrg zWLyB0i6AbOlZw4eE+RCQyUqheI= =1UvF -----END PGP SIGNATURE----- EOF testrun - -b . update Test 3< test/dists/test/Release.gpg <