From 2336b09779d313c1594acf6df3bd8a8486e90458 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Dec 2011 10:51:36 +0100 Subject: Generate the ChangeLog from commit logs. * scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * doc/HACKING: Describe the ChangeLog policy * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011. --- tests/ChangeLog | 141 -------------- tests/ChangeLog-2011 | 152 ++++++++++++++++ tests/Makefile.am | 2 +- tests/openpgp/ChangeLog | 413 ----------------------------------------- tests/openpgp/ChangeLog-2011 | 424 +++++++++++++++++++++++++++++++++++++++++++ tests/openpgp/Makefile.am | 2 +- tests/pkits/ChangeLog | 64 ------- tests/pkits/ChangeLog-2011 | 75 ++++++++ tests/pkits/Makefile.am | 12 +- 9 files changed, 659 insertions(+), 626 deletions(-) delete mode 100644 tests/ChangeLog create mode 100644 tests/ChangeLog-2011 delete mode 100644 tests/openpgp/ChangeLog create mode 100644 tests/openpgp/ChangeLog-2011 delete mode 100644 tests/pkits/ChangeLog create mode 100644 tests/pkits/ChangeLog-2011 (limited to 'tests') diff --git a/tests/ChangeLog b/tests/ChangeLog deleted file mode 100644 index aa93f0780..000000000 --- a/tests/ChangeLog +++ /dev/null @@ -1,141 +0,0 @@ -2011-09-20 Jim Meyering - - avoid use of free'd pointer - * asschk.c (set_type_var): Set var->value to NULL after freeing it, - to avoid subsequent use of freed pointer. - -2009-10-13 Werner Koch - - * asschk.c (die): Replace this vararg macro by C-89 compliant - macros die_0, die_1, die_2 and die 3. Change all callers. - Reported by Nelson H. F. Beebe. - -2009-02-19 Werner Koch - - * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd. - * inittests: Ditto. Fixes bug#1001. - -2008-10-20 Werner Koch - - * asschk.c (cmd_echo): Mark unused arg. - (cmd_send, cmd_expect_ok, cmd_expect_err, cmd_pipeserver) - (cmd_quit_if, cmd_fail_if): Ditto. - -2008-09-29 Werner Koch - - * Makefile.am (TESTS): Remove tests. - -2008-02-19 Werner Koch - - * Makefile.am: Always run pkits tests. - -2008-01-17 Werner Koch - - * asschk.c (read_assuan): Use __func__ instead of __FUNCTION__. - -2006-11-05 Werner Koch - - * asschk.c (read_assuan): Minor cleanups. - -2006-09-06 Marcus Brinkmann - - * Makefile.am (openpgp): New variable. - (SUBDIRS): Conditionalize openpgp on RUN_GPG_TESTS. - -2006-08-21 Werner Koch - - * Makefile.am (SUBDIRS): New. - * openpgp/: New. - -2006-06-08 Marcus Brinkmann - - * asschk.c (__func__) [__STDC_VERSION__ < 199901L && __GNUC__ >= 2]: - Define macro to __FUNCTION__. - (die): Use __func__ instead of __FUNCTION__. - -2005-10-07 Marcus Brinkmann - - * Makefile.am (TESTS_ENVIRONMENT): Remove LD_LIBRARY_PATH hack. - It's the responsibility of the person building the software to set - it properly. - -2004-09-30 Werner Koch - - * Makefile.am (SUBDIRS): Remove pkits until the copyright issues - have been cleared. - -2004-08-16 Werner Koch - - * Makefile.am: Descend into the new pkits directory - -2004-02-20 Werner Koch - - * Makefile.am: Reset GPG_AGENT_INFO here - * runtest: and not anymore here. - -2002-12-04 Werner Koch - - * inittests (gpgsm.conf): Fake system time. - -2002-10-31 Neal H. Walfield - - * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH here. - (TESTS_ENVIRONMENT): Do it here. And also frob $(LIBGCRYPT_LIBS) - and $(PTH_LIBS). - -2002-10-31 Neal H. Walfield - - * asschk.c (die): New macro. - (read_assuan): If in verbose mode, dump the string that was read. - (write_assuan): Be more verbose on failure. - -2002-09-04 Neal H. Walfield - - * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but - rather prepend it. Be more robust and prefer printf over echo -n. - -2002-09-04 Marcus Brinkmann - - * asschk.c (start_server): Close the parent's file descriptors in - the child. - (read_assuan): Variable NREAD removed. Cut off the received line - currectly if more than one line was read. - -2002-09-03 Neal H. Walfield - - * Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from - LDFLAGS. - -2002-08-09 Werner Koch - - * asschk.c (cmd_getenv): New. - (expand_line): Allow / as variable name delimiter. - * sm-sign+verify, sm-verify: Use $srcdir so that a VPATH build works. - - * Makefile.am: Fixes for make dist. - * samplekets/Makefile.am: New. - -2002-08-08 Werner Koch - - * asschk.c: Added some new features. - * runtest, inittests: New. - * text-1.txt, text-2.txt, text-3.txt: New. - * text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New. - * text-2.osig.pem, text-2.osig-bad.pem: New. - * samplekeys : New directory - * sm-verify, sm-sign+verify: The first test scripts. - -2002-08-06 Werner Koch - - * Makefile.am, asschk.c: New. - - - Copyright 2002 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tests/ChangeLog-2011 b/tests/ChangeLog-2011 new file mode 100644 index 000000000..972dbf597 --- /dev/null +++ b/tests/ChangeLog-2011 @@ -0,0 +1,152 @@ +2011-12-01 Werner Koch + + NB: ChangeLog files are no longer manually maintained. Starting + on December 1st, 2011 we put change information only in the GIT + commit log, and generate a top-level ChangeLog file from logs at + "make dist". See doc/HACKING for details. + +2011-09-20 Jim Meyering + + avoid use of free'd pointer + * asschk.c (set_type_var): Set var->value to NULL after freeing it, + to avoid subsequent use of freed pointer. + +2009-10-13 Werner Koch + + * asschk.c (die): Replace this vararg macro by C-89 compliant + macros die_0, die_1, die_2 and die 3. Change all callers. + Reported by Nelson H. F. Beebe. + +2009-02-19 Werner Koch + + * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd. + * inittests: Ditto. Fixes bug#1001. + +2008-10-20 Werner Koch + + * asschk.c (cmd_echo): Mark unused arg. + (cmd_send, cmd_expect_ok, cmd_expect_err, cmd_pipeserver) + (cmd_quit_if, cmd_fail_if): Ditto. + +2008-09-29 Werner Koch + + * Makefile.am (TESTS): Remove tests. + +2008-02-19 Werner Koch + + * Makefile.am: Always run pkits tests. + +2008-01-17 Werner Koch + + * asschk.c (read_assuan): Use __func__ instead of __FUNCTION__. + +2006-11-05 Werner Koch + + * asschk.c (read_assuan): Minor cleanups. + +2006-09-06 Marcus Brinkmann + + * Makefile.am (openpgp): New variable. + (SUBDIRS): Conditionalize openpgp on RUN_GPG_TESTS. + +2006-08-21 Werner Koch + + * Makefile.am (SUBDIRS): New. + * openpgp/: New. + +2006-06-08 Marcus Brinkmann + + * asschk.c (__func__) [__STDC_VERSION__ < 199901L && __GNUC__ >= 2]: + Define macro to __FUNCTION__. + (die): Use __func__ instead of __FUNCTION__. + +2005-10-07 Marcus Brinkmann + + * Makefile.am (TESTS_ENVIRONMENT): Remove LD_LIBRARY_PATH hack. + It's the responsibility of the person building the software to set + it properly. + +2004-09-30 Werner Koch + + * Makefile.am (SUBDIRS): Remove pkits until the copyright issues + have been cleared. + +2004-08-16 Werner Koch + + * Makefile.am: Descend into the new pkits directory + +2004-02-20 Werner Koch + + * Makefile.am: Reset GPG_AGENT_INFO here + * runtest: and not anymore here. + +2002-12-04 Werner Koch + + * inittests (gpgsm.conf): Fake system time. + +2002-10-31 Neal H. Walfield + + * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH here. + (TESTS_ENVIRONMENT): Do it here. And also frob $(LIBGCRYPT_LIBS) + and $(PTH_LIBS). + +2002-10-31 Neal H. Walfield + + * asschk.c (die): New macro. + (read_assuan): If in verbose mode, dump the string that was read. + (write_assuan): Be more verbose on failure. + +2002-09-04 Neal H. Walfield + + * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but + rather prepend it. Be more robust and prefer printf over echo -n. + +2002-09-04 Marcus Brinkmann + + * asschk.c (start_server): Close the parent's file descriptors in + the child. + (read_assuan): Variable NREAD removed. Cut off the received line + currectly if more than one line was read. + +2002-09-03 Neal H. Walfield + + * Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from + LDFLAGS. + +2002-08-09 Werner Koch + + * asschk.c (cmd_getenv): New. + (expand_line): Allow / as variable name delimiter. + * sm-sign+verify, sm-verify: Use $srcdir so that a VPATH build works. + + * Makefile.am: Fixes for make dist. + * samplekets/Makefile.am: New. + +2002-08-08 Werner Koch + + * asschk.c: Added some new features. + * runtest, inittests: New. + * text-1.txt, text-2.txt, text-3.txt: New. + * text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New. + * text-2.osig.pem, text-2.osig-bad.pem: New. + * samplekeys : New directory + * sm-verify, sm-sign+verify: The first test scripts. + +2002-08-06 Werner Koch + + * Makefile.am, asschk.c: New. + + + Copyright 2002 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Local Variables: +buffer-read-only: t +End: diff --git a/tests/Makefile.am b/tests/Makefile.am index 70b5fe270..2142d33d6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -37,7 +37,7 @@ TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \ testscripts = sm-sign+verify sm-verify -EXTRA_DIST = runtest inittests $(testscripts) \ +EXTRA_DIST = runtest inittests $(testscripts) ChangeLog-2011 \ text-1.txt text-2.txt text-3.txt \ text-1.osig.pem text-1.dsig.pem text-1.osig-bad.pem \ text-2.osig.pem text-2.osig-bad.pem \ diff --git a/tests/openpgp/ChangeLog b/tests/openpgp/ChangeLog deleted file mode 100644 index 18fbad852..000000000 --- a/tests/openpgp/ChangeLog +++ /dev/null @@ -1,413 +0,0 @@ -2011-02-10 Werner Koch - - * ecc.test: New. - * pinentry.sh: New. - * defs.inc: Do not create a log when running tests with envvar - verbose > 1. Add pinentry-program to gpg-agent.conf. - * Makefile.am (sample_keys): New. - (EXTRA_DIST): Add them. - -2010-10-15 Werner Koch - - * Makefile.am (clean-local): New. - -2010-10-14 Werner Koch - - * genkey1024.test: Use the new no-protection option. - - * decrypt-dsa.test: Do not specify an extra keyring. The keyring - has been loaded into pubring.gpg. - * sigs-dsa.test: Ditto. - * encrypt-dsa.test: Ditto. - * signencrypt-dsa.test: Ditto. - - * decrypt.test: Remove passphrase stuff. - * sigs.test: Ditto. - - * privkeys/: New. - - * Makefile.am: Move most stuff to ... - * version.test: Prepare data files etc. - * finish.test: New. - * defs.inc: Set all envvars. - (usrname1, usrname2, username3): Use full mail address. - -2010-06-07 Werner Koch - - * Makefile.am (TESTS_ENVIRONMENT): New. Start all scripts under - the control of the gpg-agent. - (prepared.stamp): Create gpg-agent.conf. - * defs.inc: Do not create gpg-agent.conf - (GNUPGHOME): Check that it is set properly. - (GPG_AGENT_INFO): Do not change. - -2010-05-12 Werner Koch - - * armor.test (Version): Add test for bug#1179. - -2010-05-11 Werner Koch - - * genkey1024.test: Use GPG macro. - - * gpg-agent.conf.tmpl: New. - * defs.inc: Create gpg-agent.conf - (GNUPGHOME): Set and export. - (GPG_AGENT_INFO): Unset. - * Makefile.am (CLEANFILES): Add S.gpg-agent - -2010-05-07 Werner Koch - - * import.test: Add test case for bug#1223. - * bug1223-good.asc, bug1223-bogus.asc: New. - -2009-12-21 Werner Koch - - * Makefile.am (required_pgms): New. - (./gpg_dearmor): Depend on them. - -2009-06-05 David Shaw - - * defs.inc: Improved all_cipher_algos and all_hash_algos to work - when there are more than one line of algorithms. From 1.4. - -2009-04-19 Werner Koch - - * mkdemodirs (GPG): Use --no-options. - -2008-09-29 Werner Koch - - * clearsig.test: Replace -sat by --clearsign. - -2008-03-19 Werner Koch - - * import.test, bug894-test.asc: New. - -2007-12-14 Werner Koch - - * Makefile.am (./gpg_dearmor): Reverted last change because the - real fix is to --no-options. - -2007-11-22 Werner Koch - - * Makefile.am (./gpg_dearmor): Add --homedir so that we don't - auto create a ~/.gnupg/. From Gentoo. - -2007-10-25 Werner Koch - - Add missing copyright notices to *.test. - -2007-10-25 David Shaw (wk) - - From 1.4 (July): - - * defs.inc (all_cipher_algos): New function to return all ciphers. - * defs.inc (all_cipher_algos): New function to return all ciphers - we support. This is safer than the previous setup which could - hide that some ciphers weren't being tested. Plus, this - automatically tests any new ciphers libgcrypt supports. - (all_hash_algos): New. - * sigs.test: Use it here, and also test with >=160 bit hashes for - DSA2. - * conventional.test, encrypt.test, encrypt-dsa.test, - * conventional-mdc.test: Use it here. - -2007-05-02 David Shaw - - * conventional.test, encrypt.test, encrypt-dsa.test, - conventional-mdc.test: Fix some broken tests that were only - testing 3DES instead of all available ciphers. - -2007-03-04 David Shaw (wk) - - * verify.test: Use --allow-multiple-messages instead of - --allow-multisig-verification. Two clearsigs in a row counds as a - multiple-message test. - -2006-11-16 Werner Koch - - * Makefile.am (plain-large): Use gpg.texi instead of FAQ which - won't be found as it is not a source file. Pointed out by Moritz. - -2006-10-04 Werner Koch - - * signencrypt.test: Need to prepend srcdir to the file name - -2006-09-27 Werner Koch - - * signencrypt.test: Add a test for bug 537. - * bug537-test.data.asc: New. Taken from the BTS. - -2006-08-21 Werner Koch - - Copied tests from 1.4 and adjusted paths. - -2006-04-19 David Shaw - - * sigs.test, mds.test: Add tests for SHA-224, SHA-384, and - SHA-512. - -2006-04-11 Werner Koch - - * armor.test: New. - -2006-03-09 Werner Koch - - * defs.inc: Removed Basishm by proper redirection. - -2006-03-06 Werner Koch - - * defs.inc: Print error messages also to stderr. Allow for - verbose environment variable. - (linefeed): New. - (suspend_error, resume_error): New. - * verify.test: More tests. - * multisig.test: Better error printing. - (sig_1ls1ls_valid, sig_ls_valid): Moved to the non-valid group. - -2006-02-14 Werner Koch - - * verify.test: New. - -2005-06-21 Werner Koch - - * conventional.test (algos): Uhh ohh, cut+paste error and not - tested. - -2005-06-02 Werner Koch - - * conventional.test: have_cipher_algo now requires uppercase - algorithm names. Changed. Noted by John R. Shannon. - -2004-02-09 David Shaw - - * clearsig.test, sigs.test: Properly detect RSA being missing, and - use the proper key for doing an RSA test. - -2003-12-31 David Shaw - - * clearsig.test, conventional-mdc.test, conventional.test, - defs.inc, encrypt-dsa.test, encrypt.test, genkey1024.test, - plain-1.asc, plain-1-pgp.asc, plain-2.asc, plain-3.asc, - pubring.asc, secring.asc, sigs.test: Rework tests to work properly - with a gpg binary that doesn't have all ciphers and all pk algos. - Basically, we test for the ciphers we have, only test signing with - non-160-bit hashes with RSA (we test all hashes as hashes). Test - all key lengths of AES. - -2003-12-05 David Shaw - - * Makefile.am: Reenable tests now that the Elgamal signature keys - are gone. - - * defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc, - plain-3.asc: Remove the old v3 Elgamal keys and replace with - RSA+Elgamal and RSA s+e. - -2003-12-03 David Shaw - - * options: Remove emulate-md-encode-bug. - -2003-11-27 Werner Koch - - * Makefile.am (TESTS): Temporary remove tests using ElG signatures. - -2003-09-04 David Shaw - - * mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional - (since it might not be compiled in). - -2003-07-10 David Shaw - - * Makefile.am: Add --no-permission-warning to avoid spurious - warning when importing demo keys. - -2003-05-27 Werner Koch - - * Makefile.am (CLEANFILES): Add gpg.conf - -2003-05-26 David Shaw - - * defs.inc (pgmname): Make sure there is a valid options - file. (From wk on stable branch) - - * mds.test: Note that missing algorithms are not errors. - -2003-04-23 David Shaw - - * Makefile.am, options.in: Rename options.in to options since it - no longer needs to be a generated file. - - * sigs.test: TODO note to add the new SHAs when we start - generating them. - - * mds.test: Test the new SHAs. - -2002-05-10 Werner Koch - - * Makefile.am: Add gpg_dearmor to all targets where it is used. - Noted by Andreas Haumer. - -2002-04-19 Werner Koch - - * signencrypt-dsa.test, sigs-dsa.test: Don't check with MD5 as - this is not valid with DSA signatures. - -2001-12-22 Werner Koch - - * options.in: Add no-permission-warning. - -2001-12-21 Werner Koch - - * Makefile.am (distclean-local): prefix mkdemodirs with srcdir - (DISTCLEANFILES): Add random_seed. - -2001-12-19 Werner Koch - - * options.in: Remove load-extension tiger - * Makefile.am (./options): append it if there is such a module. - -2001-10-23 Werner Koch - - * defs.inc, Makefile.am: Do not use $srcdir when invoking gpg. - Write the logfile to the current directory. - -2001-09-28 Werner Koch - - * defs.inc: Write a log file for each test. - * run-gpg, run-gpgm, run-gpg.patterns: Removed. Replaced in all - tests by a simple macro from defs.inc. - * Makefile.am (CLEANFILES): Remove log files. - (./gpg_dearmor): create it and use it instead of the macro. - This is needed in multisig.test due to IFS tricks. - - * armsignencrypt.test, signencrypt-dsa.test, signencrypt.test, - armencryptp.test, armencrypt.test, encryptp.test, seat.test, - encrypt-dsa.test, encrypt.test: Use --always-trust because the - test are not designed to check the validity. - -2001-09-06 Werner Koch - - * genkey1024.test: Simplified by using a parameter file. - -2001-05-30 Werner Koch - - * multisig.test (IFS): Reset IFS just before the test. - -2001-04-30 Werner Koch - - * multisig.test: Add an set +x to avoid ksh problems - -2001-04-28 Werner Koch - - * run-gpg.patterns: a v3 test key expired yesterday, suppress the - messages. - -2001-03-27 Werner Koch - - * defs.inc: Removed creation of options file. - * options.in: New. - * Makefile.am: Create options file and fixed import of pubdemo.asc. - - * run-gpg.patterns (gpg): Add some more patterns. - -2001-03-20 Werner Koch - - * Makefile.am: Import the pubdemo.asc file - - * sigs.test (hash_algo_list): s/tiger/tiger192/ - -2001-03-19 Werner Koch - - * mkdemodirs (GPGDEMO): Add --allow-secret-key-import to all gpg - invocations. Use echon -n instead of an argument with \c. - -2001-02-12 Werner Koch - - * multisig.test: new - * Makefile.am (TESTS): Added. - -2000-10-18 Werner Koch - - * conventional-mdc.test: Add Rijndael and fix for empty plain texts. - -Thu Feb 10 17:39:44 CET 2000 Werner Koch - - * mkdemodirs: Fixed the --clean loop. - -Thu Jan 13 19:31:58 CET 2000 Werner Koch - - * defs.inc (chdir): Removed becuase it is unsused an plain old sh - does not like this name. Reported by Alec Habig. - -Tue Oct 26 20:02:23 1999 Werner Koch (wk@gnupg.org) - - * Makefile.am (GPG_DEARMOR): New and use --no-options. - -Tue Aug 31 17:20:44 CEST 1999 Werner Koch - - * defs.inc: set LC_ALL empty - -Wed Aug 4 10:34:18 CEST 1999 Werner Koch - - * defs.inc (echo_n): New and used instead of /bin/echo "\c" - -Sun Apr 18 10:11:28 CEST 1999 Werner Koch - - * mkdemodirs: New - * signdemokey: New. - * Makefile.am (distclean-local): New. - -Wed Mar 17 13:09:03 CET 1999 Werner Koch - - * mds.test: replaced the "echo -n" - -Mon Mar 8 20:47:17 CET 1999 Werner Koch - - * pubdemo.asc, secdemo.asc: New. - -Fri Feb 19 15:49:15 CET 1999 Werner Koch - - * genkey1024.test: Be really quiet. - -1999-01-01 Geoff Keating - - * Makefile.am (CLEANFILES): Also delete trustdb and any leftover - lockfiles. - -Fri Nov 27 15:30:24 CET 1998 Werner Koch - - * clearsig.test: Some more test cases. - -Sun Oct 25 18:19:35 1998 Werner Koch (wk@isil.d.shuttle.de) - - * mds.test: Check whether TIGER is available. - * sigs.tesr: Ditto. - -Wed Sep 23 12:25:07 1998 Werner Koch (wk@isil.d.shuttle.de) - - * run-gpg.patterns: New (because Solaris fgrep does not like -f -). - -Mon Aug 10 21:33:38 1998 Werner Koch (wk@(none)) - - * genkey1024.test: Ariel fixed this. - -Wed Jul 8 10:43:47 1998 Werner Koch (wk@isil.d.shuttle.de) - - * seat.test: New. - -Mon May 18 15:40:02 1998 Werner Koch (wk@isil.d.shuttle.de) - - * Makefile.am: Now uses mk-tdata to produce random test data. - - * ChangeLog: New. - - - Copyright 1998, 1999, 2000, 2001, 2007 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tests/openpgp/ChangeLog-2011 b/tests/openpgp/ChangeLog-2011 new file mode 100644 index 000000000..4013a08f8 --- /dev/null +++ b/tests/openpgp/ChangeLog-2011 @@ -0,0 +1,424 @@ +2011-12-01 Werner Koch + + NB: ChangeLog files are no longer manually maintained. Starting + on December 1st, 2011 we put change information only in the GIT + commit log, and generate a top-level ChangeLog file from logs at + "make dist". See doc/HACKING for details. + +2011-02-10 Werner Koch + + * ecc.test: New. + * pinentry.sh: New. + * defs.inc: Do not create a log when running tests with envvar + verbose > 1. Add pinentry-program to gpg-agent.conf. + * Makefile.am (sample_keys): New. + (EXTRA_DIST): Add them. + +2010-10-15 Werner Koch + + * Makefile.am (clean-local): New. + +2010-10-14 Werner Koch + + * genkey1024.test: Use the new no-protection option. + + * decrypt-dsa.test: Do not specify an extra keyring. The keyring + has been loaded into pubring.gpg. + * sigs-dsa.test: Ditto. + * encrypt-dsa.test: Ditto. + * signencrypt-dsa.test: Ditto. + + * decrypt.test: Remove passphrase stuff. + * sigs.test: Ditto. + + * privkeys/: New. + + * Makefile.am: Move most stuff to ... + * version.test: Prepare data files etc. + * finish.test: New. + * defs.inc: Set all envvars. + (usrname1, usrname2, username3): Use full mail address. + +2010-06-07 Werner Koch + + * Makefile.am (TESTS_ENVIRONMENT): New. Start all scripts under + the control of the gpg-agent. + (prepared.stamp): Create gpg-agent.conf. + * defs.inc: Do not create gpg-agent.conf + (GNUPGHOME): Check that it is set properly. + (GPG_AGENT_INFO): Do not change. + +2010-05-12 Werner Koch + + * armor.test (Version): Add test for bug#1179. + +2010-05-11 Werner Koch + + * genkey1024.test: Use GPG macro. + + * gpg-agent.conf.tmpl: New. + * defs.inc: Create gpg-agent.conf + (GNUPGHOME): Set and export. + (GPG_AGENT_INFO): Unset. + * Makefile.am (CLEANFILES): Add S.gpg-agent + +2010-05-07 Werner Koch + + * import.test: Add test case for bug#1223. + * bug1223-good.asc, bug1223-bogus.asc: New. + +2009-12-21 Werner Koch + + * Makefile.am (required_pgms): New. + (./gpg_dearmor): Depend on them. + +2009-06-05 David Shaw + + * defs.inc: Improved all_cipher_algos and all_hash_algos to work + when there are more than one line of algorithms. From 1.4. + +2009-04-19 Werner Koch + + * mkdemodirs (GPG): Use --no-options. + +2008-09-29 Werner Koch + + * clearsig.test: Replace -sat by --clearsign. + +2008-03-19 Werner Koch + + * import.test, bug894-test.asc: New. + +2007-12-14 Werner Koch + + * Makefile.am (./gpg_dearmor): Reverted last change because the + real fix is to --no-options. + +2007-11-22 Werner Koch + + * Makefile.am (./gpg_dearmor): Add --homedir so that we don't + auto create a ~/.gnupg/. From Gentoo. + +2007-10-25 Werner Koch + + Add missing copyright notices to *.test. + +2007-10-25 David Shaw (wk) + + From 1.4 (July): + + * defs.inc (all_cipher_algos): New function to return all ciphers. + * defs.inc (all_cipher_algos): New function to return all ciphers + we support. This is safer than the previous setup which could + hide that some ciphers weren't being tested. Plus, this + automatically tests any new ciphers libgcrypt supports. + (all_hash_algos): New. + * sigs.test: Use it here, and also test with >=160 bit hashes for + DSA2. + * conventional.test, encrypt.test, encrypt-dsa.test, + * conventional-mdc.test: Use it here. + +2007-05-02 David Shaw + + * conventional.test, encrypt.test, encrypt-dsa.test, + conventional-mdc.test: Fix some broken tests that were only + testing 3DES instead of all available ciphers. + +2007-03-04 David Shaw (wk) + + * verify.test: Use --allow-multiple-messages instead of + --allow-multisig-verification. Two clearsigs in a row counds as a + multiple-message test. + +2006-11-16 Werner Koch + + * Makefile.am (plain-large): Use gpg.texi instead of FAQ which + won't be found as it is not a source file. Pointed out by Moritz. + +2006-10-04 Werner Koch + + * signencrypt.test: Need to prepend srcdir to the file name + +2006-09-27 Werner Koch + + * signencrypt.test: Add a test for bug 537. + * bug537-test.data.asc: New. Taken from the BTS. + +2006-08-21 Werner Koch + + Copied tests from 1.4 and adjusted paths. + +2006-04-19 David Shaw + + * sigs.test, mds.test: Add tests for SHA-224, SHA-384, and + SHA-512. + +2006-04-11 Werner Koch + + * armor.test: New. + +2006-03-09 Werner Koch + + * defs.inc: Removed Basishm by proper redirection. + +2006-03-06 Werner Koch + + * defs.inc: Print error messages also to stderr. Allow for + verbose environment variable. + (linefeed): New. + (suspend_error, resume_error): New. + * verify.test: More tests. + * multisig.test: Better error printing. + (sig_1ls1ls_valid, sig_ls_valid): Moved to the non-valid group. + +2006-02-14 Werner Koch + + * verify.test: New. + +2005-06-21 Werner Koch + + * conventional.test (algos): Uhh ohh, cut+paste error and not + tested. + +2005-06-02 Werner Koch + + * conventional.test: have_cipher_algo now requires uppercase + algorithm names. Changed. Noted by John R. Shannon. + +2004-02-09 David Shaw + + * clearsig.test, sigs.test: Properly detect RSA being missing, and + use the proper key for doing an RSA test. + +2003-12-31 David Shaw + + * clearsig.test, conventional-mdc.test, conventional.test, + defs.inc, encrypt-dsa.test, encrypt.test, genkey1024.test, + plain-1.asc, plain-1-pgp.asc, plain-2.asc, plain-3.asc, + pubring.asc, secring.asc, sigs.test: Rework tests to work properly + with a gpg binary that doesn't have all ciphers and all pk algos. + Basically, we test for the ciphers we have, only test signing with + non-160-bit hashes with RSA (we test all hashes as hashes). Test + all key lengths of AES. + +2003-12-05 David Shaw + + * Makefile.am: Reenable tests now that the Elgamal signature keys + are gone. + + * defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc, + plain-3.asc: Remove the old v3 Elgamal keys and replace with + RSA+Elgamal and RSA s+e. + +2003-12-03 David Shaw + + * options: Remove emulate-md-encode-bug. + +2003-11-27 Werner Koch + + * Makefile.am (TESTS): Temporary remove tests using ElG signatures. + +2003-09-04 David Shaw + + * mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional + (since it might not be compiled in). + +2003-07-10 David Shaw + + * Makefile.am: Add --no-permission-warning to avoid spurious + warning when importing demo keys. + +2003-05-27 Werner Koch + + * Makefile.am (CLEANFILES): Add gpg.conf + +2003-05-26 David Shaw + + * defs.inc (pgmname): Make sure there is a valid options + file. (From wk on stable branch) + + * mds.test: Note that missing algorithms are not errors. + +2003-04-23 David Shaw + + * Makefile.am, options.in: Rename options.in to options since it + no longer needs to be a generated file. + + * sigs.test: TODO note to add the new SHAs when we start + generating them. + + * mds.test: Test the new SHAs. + +2002-05-10 Werner Koch + + * Makefile.am: Add gpg_dearmor to all targets where it is used. + Noted by Andreas Haumer. + +2002-04-19 Werner Koch + + * signencrypt-dsa.test, sigs-dsa.test: Don't check with MD5 as + this is not valid with DSA signatures. + +2001-12-22 Werner Koch + + * options.in: Add no-permission-warning. + +2001-12-21 Werner Koch + + * Makefile.am (distclean-local): prefix mkdemodirs with srcdir + (DISTCLEANFILES): Add random_seed. + +2001-12-19 Werner Koch + + * options.in: Remove load-extension tiger + * Makefile.am (./options): append it if there is such a module. + +2001-10-23 Werner Koch + + * defs.inc, Makefile.am: Do not use $srcdir when invoking gpg. + Write the logfile to the current directory. + +2001-09-28 Werner Koch + + * defs.inc: Write a log file for each test. + * run-gpg, run-gpgm, run-gpg.patterns: Removed. Replaced in all + tests by a simple macro from defs.inc. + * Makefile.am (CLEANFILES): Remove log files. + (./gpg_dearmor): create it and use it instead of the macro. + This is needed in multisig.test due to IFS tricks. + + * armsignencrypt.test, signencrypt-dsa.test, signencrypt.test, + armencryptp.test, armencrypt.test, encryptp.test, seat.test, + encrypt-dsa.test, encrypt.test: Use --always-trust because the + test are not designed to check the validity. + +2001-09-06 Werner Koch + + * genkey1024.test: Simplified by using a parameter file. + +2001-05-30 Werner Koch + + * multisig.test (IFS): Reset IFS just before the test. + +2001-04-30 Werner Koch + + * multisig.test: Add an set +x to avoid ksh problems + +2001-04-28 Werner Koch + + * run-gpg.patterns: a v3 test key expired yesterday, suppress the + messages. + +2001-03-27 Werner Koch + + * defs.inc: Removed creation of options file. + * options.in: New. + * Makefile.am: Create options file and fixed import of pubdemo.asc. + + * run-gpg.patterns (gpg): Add some more patterns. + +2001-03-20 Werner Koch + + * Makefile.am: Import the pubdemo.asc file + + * sigs.test (hash_algo_list): s/tiger/tiger192/ + +2001-03-19 Werner Koch + + * mkdemodirs (GPGDEMO): Add --allow-secret-key-import to all gpg + invocations. Use echon -n instead of an argument with \c. + +2001-02-12 Werner Koch + + * multisig.test: new + * Makefile.am (TESTS): Added. + +2000-10-18 Werner Koch + + * conventional-mdc.test: Add Rijndael and fix for empty plain texts. + +Thu Feb 10 17:39:44 CET 2000 Werner Koch + + * mkdemodirs: Fixed the --clean loop. + +Thu Jan 13 19:31:58 CET 2000 Werner Koch + + * defs.inc (chdir): Removed becuase it is unsused an plain old sh + does not like this name. Reported by Alec Habig. + +Tue Oct 26 20:02:23 1999 Werner Koch (wk@gnupg.org) + + * Makefile.am (GPG_DEARMOR): New and use --no-options. + +Tue Aug 31 17:20:44 CEST 1999 Werner Koch + + * defs.inc: set LC_ALL empty + +Wed Aug 4 10:34:18 CEST 1999 Werner Koch + + * defs.inc (echo_n): New and used instead of /bin/echo "\c" + +Sun Apr 18 10:11:28 CEST 1999 Werner Koch + + * mkdemodirs: New + * signdemokey: New. + * Makefile.am (distclean-local): New. + +Wed Mar 17 13:09:03 CET 1999 Werner Koch + + * mds.test: replaced the "echo -n" + +Mon Mar 8 20:47:17 CET 1999 Werner Koch + + * pubdemo.asc, secdemo.asc: New. + +Fri Feb 19 15:49:15 CET 1999 Werner Koch + + * genkey1024.test: Be really quiet. + +1999-01-01 Geoff Keating + + * Makefile.am (CLEANFILES): Also delete trustdb and any leftover + lockfiles. + +Fri Nov 27 15:30:24 CET 1998 Werner Koch + + * clearsig.test: Some more test cases. + +Sun Oct 25 18:19:35 1998 Werner Koch (wk@isil.d.shuttle.de) + + * mds.test: Check whether TIGER is available. + * sigs.tesr: Ditto. + +Wed Sep 23 12:25:07 1998 Werner Koch (wk@isil.d.shuttle.de) + + * run-gpg.patterns: New (because Solaris fgrep does not like -f -). + +Mon Aug 10 21:33:38 1998 Werner Koch (wk@(none)) + + * genkey1024.test: Ariel fixed this. + +Wed Jul 8 10:43:47 1998 Werner Koch (wk@isil.d.shuttle.de) + + * seat.test: New. + +Mon May 18 15:40:02 1998 Werner Koch (wk@isil.d.shuttle.de) + + * Makefile.am: Now uses mk-tdata to produce random test data. + + * ChangeLog: New. + + + Copyright 1998, 1999, 2000, 2001, 2007 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Local Variables: +buffer-read-only: t +End: diff --git a/tests/openpgp/Makefile.am b/tests/openpgp/Makefile.am index 8d6e5906b..ea1d54f8b 100644 --- a/tests/openpgp/Makefile.am +++ b/tests/openpgp/Makefile.am @@ -67,7 +67,7 @@ sample_keys = samplekeys/ecc-sample-1-pub.asc \ samplekeys/ecc-sample-2-sec.asc \ samplekeys/ecc-sample-3-sec.asc -EXTRA_DIST = defs.inc pinentry.sh $(TESTS) $(TEST_FILES) \ +EXTRA_DIST = defs.inc pinentry.sh $(TESTS) $(TEST_FILES) ChangeLog-2011 \ mkdemodirs signdemokey $(priv_keys) $(sample_keys) CLEANFILES = prepared.stamp x y yy z out err $(data_files) \ diff --git a/tests/pkits/ChangeLog b/tests/pkits/ChangeLog deleted file mode 100644 index 992d1dfbb..000000000 --- a/tests/pkits/ChangeLog +++ /dev/null @@ -1,64 +0,0 @@ -2009-03-03 Werner Koch - - * inittests (clean_files): Use /bin/pwd here as well. - - * Makefile.am (run-all-tests): Also use /bin/pwd here. - -2009-02-19 Werner Koch - - * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd - * common.sh: Ditto. - -2008-02-19 Werner Koch - - * inittests: Unpack test data onlyu if available. - * common.sh: Skip tests if PKITS test data is not available. - * Makefile.am: Do not distribute test data. This allows to - include the test suite in the distribution. - - * signature-verification: New. - * validity-periods: New. - * verifying-name-chaining: New. - * basic-certificate-revocation: New. - * verifying-paths-self-issued: New. - * verifying-basic-constraints: New. - * key-usage: New. - * certificate-policies: New. - * require-explicit-policy: New. - * policy-mappings: New. - * inhibit-policy-mapping: New. - * inhibit-any-policy: New. - * name-constraints: New. - * distribution-points: New. - * delta-crls: New. - * private-certificate-extensions: New. - * Makefile.am (testscripts): Add them. - - * import-all-certs.data: Add section numbers. - -2008-02-18 Werner Koch - - * import-all-certs.data: Adjust import tests results. Almost all - certificates should now be importable due to relaxed basic checks. - - * inittests (clean_files): Disable all dirmngr access. - -2006-05-02 Werner Koch - - * PKITS_data.tar.bz2: Repackaged new copy because the old one got - corrupted by the conversion from CVS to SVN. - -2004-08-16 Werner Koch - - Started implementing PKITS based tests. - - - Copyright 2004, 2008 Free Software Foundation, Inc. - - This file is free software; as a special exception the author gives - unlimited permission to copy and/or distribute it, with or without - modifications, as long as this notice is preserved. - - This file is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY, to the extent permitted by law; without even the - implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/tests/pkits/ChangeLog-2011 b/tests/pkits/ChangeLog-2011 new file mode 100644 index 000000000..d66e474ad --- /dev/null +++ b/tests/pkits/ChangeLog-2011 @@ -0,0 +1,75 @@ +2011-12-01 Werner Koch + + NB: ChangeLog files are no longer manually maintained. Starting + on December 1st, 2011 we put change information only in the GIT + commit log, and generate a top-level ChangeLog file from logs at + "make dist". See doc/HACKING for details. + +2009-03-03 Werner Koch + + * inittests (clean_files): Use /bin/pwd here as well. + + * Makefile.am (run-all-tests): Also use /bin/pwd here. + +2009-02-19 Werner Koch + + * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd + * common.sh: Ditto. + +2008-02-19 Werner Koch + + * inittests: Unpack test data onlyu if available. + * common.sh: Skip tests if PKITS test data is not available. + * Makefile.am: Do not distribute test data. This allows to + include the test suite in the distribution. + + * signature-verification: New. + * validity-periods: New. + * verifying-name-chaining: New. + * basic-certificate-revocation: New. + * verifying-paths-self-issued: New. + * verifying-basic-constraints: New. + * key-usage: New. + * certificate-policies: New. + * require-explicit-policy: New. + * policy-mappings: New. + * inhibit-policy-mapping: New. + * inhibit-any-policy: New. + * name-constraints: New. + * distribution-points: New. + * delta-crls: New. + * private-certificate-extensions: New. + * Makefile.am (testscripts): Add them. + + * import-all-certs.data: Add section numbers. + +2008-02-18 Werner Koch + + * import-all-certs.data: Adjust import tests results. Almost all + certificates should now be importable due to relaxed basic checks. + + * inittests (clean_files): Disable all dirmngr access. + +2006-05-02 Werner Koch + + * PKITS_data.tar.bz2: Repackaged new copy because the old one got + corrupted by the conversion from CVS to SVN. + +2004-08-16 Werner Koch + + Started implementing PKITS based tests. + + + Copyright 2004, 2008 Free Software Foundation, Inc. + + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +Local Variables: +buffer-read-only: t +End: diff --git a/tests/pkits/Makefile.am b/tests/pkits/Makefile.am index f59e5ec97..8098ad22b 100644 --- a/tests/pkits/Makefile.am +++ b/tests/pkits/Makefile.am @@ -1,18 +1,18 @@ # Makefile.am - tests using NIST's PKITS # Copyright (C) 2004, 2008 Free Software Foundation, Inc. -# +# # This file is part of GnuPG. -# +# # GnuPG is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. -# +# # GnuPG is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program; if not, see . @@ -43,8 +43,8 @@ testscripts = import-all-certs validate-all-certs \ private-certificate-extensions -EXTRA_DIST = inittests runtest common.sh $(testscripts) - import-all-certs.data +EXTRA_DIST = inittests runtest common.sh $(testscripts) ChangeLog-2011 \ + import-all-certs.data TESTS = $(testscripts) -- cgit v1.2.3