tests


Log

Author Commit Date CI Message
Paul Eggert a897449a 2006-08-14T22:19:54 Add copyright notices to long-enough files that lack them, since otherwise the files aren't clearly free. Use the same notice that getdate.texi already uses. * doc/alloca-opt.texi: Add copyright notice. * doc/alloca.texi: Likewise. * doc/ctime.texi: Likewise. * doc/functions.texi: Likewise. * doc/gcd.texi: Likewise. * doc/gnulib-tool.texi: Likewise. * doc/inet_ntoa.texi: Likewise. * doc/visibility.texi: Likewise. Change copyright notice from LGPL 2 to GPL 2, since that's the standard form used in the gnulib repository. * lib/lock.c: LGPL -> GPL. * lib/lock.h: Likewise. * lib/strnlen1.c: Likewise. * lib/strnlen1.h: Likewise. * lib/tls.c: Likewise. * lib/tls.h: Likewise. * lib/tmpdir.c: Likewise. * tests/test-lock.c: Likewise. * tests/test-stdint.c: Likewise. * tests/test-tls.c: Likewise.
Paul Eggert a84c1ea2 2006-08-14T18:28:31 * check-module: Add copyright notice. Output a copyright notice if "--version" is specified. * config/srclistvars.sh: Add copyright notice. * doc/getdate.texi: Update FDL version from 1.1 to 1.2. * doc/quote.texi: Add copyright notice. * lib/TODO: Remove; this belongs only in coreutils. * modules/COPYING: New file. * tests/test-getaddrinfo.c: Add copyright notice. * tests/test-verify.c: Likewise.
Bruno Haible d96695ef 2006-07-17T11:32:55 Ordered set data type implemented by a binary tree.
Bruno Haible a8de9261 2006-07-17T11:31:28 Sequential list data type implemented by a hash table with a binary tree.
Bruno Haible e21bb106 2006-07-17T11:30:58 Sequential list data type implemented by a binary tree.
Bruno Haible 72f1dc22 2006-07-17T11:30:30 Sequential list data type implemented by a hash table with a linked list.
Bruno Haible c0ec3622 2006-07-17T11:30:07 Sequential list data type implemented by a linked list.
Bruno Haible 38f4a9e9 2006-07-17T11:29:21 Sequential list data type implemented by a circular array.
Simon Josefsson 4a039df2 2006-07-06T23:56:00 2006-07-07 Simon Josefsson <jas@extundo.com> * tests/test-crc.c: Change expected crc value, the test vector were probably computed using the old broken crc.c?
Eric Blake f1f10604 2006-07-04T19:23:08 * modules/dirname-tests: New test module. * tests/test-dirname.c: New file, replacing dirname.c TEST_DIRNAME section that was recently deleted.
Paul Eggert 3965bf40 2006-07-02T06:49:07 Simplification rewrite for stdint module. * modules/inttypes (Depends-on): No longer depends on stdint. * modules/stdint (Description): Say more about assumptions. Say that the fast types might differ. Say macros are used. (Files): Remove m4/size_max.m4, m4/wchar_t.m4. Add m4/longlong.m4. (Makefile.am): Revise list of substituted symbols to match new stdint.m4. * modules/stdint-tests (Files): Add m4/wchar_t.m4, m4/wint_t.m4. (configure.ac): Add gt_TYPE_WCHAR_T, gt_TYPE_WINT_T. * tests/test-stdint.c (verify_same_types) [! (__GNUC__ >= 2 && DO_PEDANTIC)]: Put in a decl, so that the code conforms to C99/C89. Test for WCHAR_MIN and WCHAR_MAX only if HAVE_WCHAR_T. Test for WINT_MIN and WINT_MAX only if HAVE_WINT_T. * lib/stdint_.h (_GL_STDINT_H): Renamed from _STDINT_H, to avoid possible collision with system files. (<stdio.h>, <time.h>, <wchar.h>) [defined __cplusplus && ! defined __STDC_CONSTANT_MACROS)]: Do not include, since we don't need WCHAR_MIN and WCHAR_MAX in this case. (<stddef.h>): Do not include; no longer needed. (<sys/types.h>): Include if @HAVE_SYS_TYPES_H@, not if (defined(__OpenBSD__) || defined(__bsdi__) || defined(__sgi)). (<sys/inttypes.h>): Include if @HAVE_SYS_INTTYPES_H@ && !@HAVE_INTTYPES_H@, not if (defined(__FreeBSD__) && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)). (__STDINT_H__) [@HAVE_STDINT_H@ && defined __sgi && ! defined __c99]: Define, to work around IRIX <stdint.h> incompatibility. (@FULL_PATH_STDINT_H@) [!(defined(__sgi) && @HAVE_INTTYPES_H@ && !defined(__c99))]: Include in this case too, since it's harmless now. (<inttypes.h>) [@HAVE_INTTYPES_H@]: Include, since it's no longer dangerous to do so. (@FULL_PATH_INTTYPES_H@) [(defined(__hpux) || defined(_AIX)) && @HAVE_INTTYPES_H@]: Do not include, since we now include <inttypes.h>. (_STDINT_MIN, _STDINT_MAX): New macros. (int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t): (uint64_t, int_least8_t, uint_least8_t, int_least16_t): (uint_least16_t, int_least32_t, uint_least32_t, int_least64_t): (uint_least64_t, int_fast8_t, uint_fast8_t, int_fast16_t): (uint_fast16_t, int_fast32_t, uint_fast32_t, int_fast64_t): (uint_fast64_t, intptr_t, uintptr_t, intmax_t, uintmax_t): Now macros, not typedefs; this simplifies things quite a bit. Use long int for all types narrower than int64_t. (intmax_t, uintmax_t, INTMAX_C, UINTMAX_C): Define in terms of long long int or int64_t or long int, not int64_t or int32_t. This saves some compile-time testing. (INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX, UINT16_MAX): (INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN, INT64_MAX): (UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX, UINT_LEAST8_MAX): (INT_LEAST16_MIN, INT_LEAST16_MAX, UINT_LEAST16_MAX): (INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): (INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST8_MIN): (INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN, INT_FAST16_MAX): (UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX, UINT_FAST32_MAX): (INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX, INTPTR_MIN): (INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX): (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX): (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX): undef any previous version and define our own version, for simplicity and consistency with the new macros for types. (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX): (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX): Simplify definitions by using _STDINT_MIN and _STDINT_MAX where appropriate. Rely on new symbols @PTRDIFF_T_SUFFIX@, @SIG_ATOMIC_T_SUFFIX@, @SIZE_T_SUFFIX@, @WCHAR_T_SUFFIX@, @WINT_T_SUFFIX@ to keep things simple here. (UINT8_C, UINT16_C, UINT32_C, INT64_C, UINT64_C): Simplify by assuming typical 8/16/32/64 host, since we're already doing that elsewhere anyway. Use (LONG_MAX >> 31 >> 31 == 1) rather than @HAVE_LONG_64BIT@, and assume long long int is 64 bits if available. This speeds up 'configure'. * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60, but fix a bug, by requiring at least 64 bits. * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise. * m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon. * m4/ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise. * m4/stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h changes. Make 2.59 a prerequisite. Check and substitute for HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and inttypes.h. Do not use special include files; just use the defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual way now. Remove no-longer-needed tests for HAVE_LONG_64BIT, HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t, uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t, int_least32_t, int_least64_t, uint_least8_t, uint_least16_t, uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t, int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t, uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t, uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX, UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN, INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX, UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX, UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX. Check for C99 conformance more strictly, by detecting bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do not check for things that C99 does not require, e.g., int8_t. If a test isn't needed unless <stdint.h> isn't working, and is unlikely to be needed for any other reason, then don't do it unless <stdint.h> isn't working. Do not check for ptrdiff_t or size_t, since we assume C89 freestanding at least. Do not check for sig_atomic_t, wchar_t, or wint_t, since the code now does the right thing even if the types are not defined. Instead use: (gl_STDINT_TYPE_PROPERTIES): New macro. (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother testing whether <sys/types.h> clashes, as Autoconf does this for us now. All uses removed. (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND): (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2): (gl_CHECK_TYPE_SAME): Remove; no longer needed. (gl_STDINT_BITSIZEOF): Don't bother to check whether the type exists, since we'll return 0 anyway in that case. (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
Simon Josefsson 633351a9 2006-06-28T11:08:34 Native win32 support for getaddrinfo. Add getnameinfo function.
Bruno Haible 056cbcb8 2006-06-23T14:58:59 Take into account ISO C 99 TC1.
Simon Josefsson 7225c167 2006-06-21T17:22:32 Fix getaddrinfo on Windows 2000.
Simon Josefsson 08c03e59 2006-06-16T19:40:12 Add read-file module.
Bruno Haible d9def6e7 2006-06-16T13:29:04 New module 'stdint-tests'.
Sergey Poznyakoff 6e714e7a 2006-01-21T19:09:06 Test suite for argp module
Simon Josefsson 253dda65 2005-10-28T13:55:19 Fix typos in comment, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
Simon Josefsson 9ab31861 2005-10-28T12:17:40 Test more.
Simon Josefsson c5d8261e 2005-10-28T12:09:31 Add MD2 and hash fixes.
Simon Josefsson 6a58cb3f 2005-10-21T12:28:18 Add des, des-tests, gc-des, gc-des-tests modules.
Simon Josefsson 853ca59f 2005-10-21T12:03:17 Add arctwo, arctwo-tests, gc-arctwo, gc-arctwo-tests modules.
Simon Josefsson c4f00b7d 2005-10-19T15:40:26 Add gc-arcfour and gc-arcfour-tests modules.
Simon Josefsson 76990ea3 2005-10-19T14:54:32 Add gc-rijndael and gc-rijndael-tests modules.
Simon Josefsson fd1dec26 2005-10-18T23:45:03 Add tests.
Simon Josefsson eecf6279 2005-10-18T23:35:50 Add gc-md4 and gc-md4-tests modules.
Simon Josefsson 82c1692f 2005-10-18T22:59:17 Add md4 module.
Simon Josefsson bc6749e1 2005-10-18T14:10:27 Add md5-tests module.
Simon Josefsson d0b7edd0 2005-10-17T14:48:31 Add gc-sha1-tests module.
Simon Josefsson c903fb50 2005-10-17T12:57:06 Add (forgotten before).
Simon Josefsson 13083d5c 2005-10-15T18:19:44 Add arcfour module.
Simon Josefsson f6d39688 2005-10-13T08:12:04 2005-10-13 Simon Josefsson <jas@extundo.com> * modules/gc-hmac-md5-tests: New file. * tests/test-gc-hmac-sha1.c: New file.
Simon Josefsson d81362ec 2005-10-13T08:06:07 2005-10-13 Simon Josefsson <jas@extundo.com> * tests/test-gc.c (main): Remove MD5 and HMAC-MD5 tests. * modules/gc-hmac-md5-tests: New file. * tests/test-gc-md5.c: New file. * modules/gc-md5-tests: New file.
Simon Josefsson 9045e5f8 2005-10-12T13:13:29 Add gc-pbkdf2-sha1 module.
Simon Josefsson 9a2b952a 2005-10-12T01:33:44 Add hmac-sha1 module.
Simon Josefsson 563da075 2005-10-11T18:25:51 Add crc module.
Simon Josefsson 5a01cacc 2005-10-08T08:33:07 Add generic crypto module.
Simon Josefsson f6800ee0 2005-10-06T15:58:26 Add hmac-md5 module.
Bruno Haible dee57912 2005-09-28T12:00:59 Test verify_true instead of verify_expr.
Bruno Haible a6ac074b 2005-09-23T20:27:23 Include config.h only if it exists.
Bruno Haible 660219d1 2005-09-23T14:01:10 Needs config.h.
Bruno Haible 772dd52b 2005-09-23T13:42:08 Test case for verify.h.
Bruno Haible 29942c44 2005-08-25T12:40:25 Tests for module 'tls'.
Bruno Haible 271b13d6 2005-08-25T12:36:58 Tests for gnulib module 'lock'.
Jim Meyering 67742681 2005-08-24T11:56:36 filter through indent
Bruno Haible 62616457 2005-08-24T11:01:01 Use GNU coding style.
Simon Josefsson 1678e268 2005-08-24T10:59:57 Include config.h too.
Simon Josefsson 13b044b5 2005-08-24T09:21:10 * tests/test-getpass.c: New file.
Simon Josefsson 0e8e27fe 2005-08-10T10:39:35 Add test tool for iconvme.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Simon Josefsson a01aeca7 2004-12-28T02:36:14 * tests/test-base64.c: Include required header files. Remove unused variables.
Simon Josefsson e846f8ff 2004-12-16T01:32:32 Typo.
Simon Josefsson 71f4edb0 2004-12-16T01:22:30 Add license.
Simon Josefsson 112ca20e 2004-11-30T20:46:52 Add base64.
Bruno Haible ec03ca35 2004-10-04T11:25:57 New module 'memmem', from Simon Josefsson.
Bruno Haible 5aa15601 2004-10-01T19:50:53 Put under GPL.
Bruno Haible f08fb49d 2003-09-26T14:28:46 Test result on AIX 4.3.3 and AIX 5.1.
Bruno Haible f828a3a9 2003-09-26T14:28:26 Test result on glibc 2.x.
Bruno Haible 69962a30 2003-09-26T14:28:10 Test for stpncpy function.