1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Bruno Haible
7cc207a704 Tests: Remove unnecessary dependency.
* modules/canonicalize-tests (Depends-on): Remove progname.
* modules/chown-tests (Depends-on): Likewise.
* modules/dirname-tests (Depends-on): Likewise.
* modules/fdopendir-tests (Depends-on): Likewise.
* modules/fdutimensat-tests (Depends-on): Likewise.
* modules/hash-tests (Depends-on): Likewise.
* modules/lchown-tests (Depends-on): Likewise.
* modules/linkat-tests (Depends-on): Likewise.
* modules/renameat-tests (Depends-on): Likewise.
* modules/spawn-pipe-tests (Depends-on): Likewise.
* modules/utimensat-tests (Depends-on): Likewise.
2011-06-17 16:34:36 +02:00
Eric Blake
83b1d6414a hash, mgetgroups: drop xalloc dependency
Rely on the new xalloc-oversized module to avoid requiring
xalloc-die for functions documented as returning NULL on
potential allocation overflow.

* lib/hash.c (includes): Adjust includes.
* lib/mgetgroups.c (includes): Likewise.
(xgetgroups): Move...
* lib/xgetgroups.c: ...to new file.
* modules/xgetgroups: New file, split from...
* modules/mgetgroups: ...here.
(Depends-on): Add xalloc-oversized.
* modules/hash (Depends-on): Likewise.
* modules/hash-tests (Depends-on): Drop xalloc.
(test_hash_LDADD): Drop unused library.
* tests/test-hash.c (main): Break xalloc dependency.
(includes): Drop unused include.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-04-28 14:22:07 -06:00
Bruno Haible
987e5651e8 Refactor common macros used in tests. 2009-12-24 21:01:42 +01:00
Simon Josefsson
2d9761d577 hash-tests: Fix build error. 2009-06-23 11:29:11 +02:00
Jim Meyering
14092765ad hash-tests: new module
* modules/hash-tests: New file.
* tests/test-hash.c: New file.

Signed-off-by: Eric Blake <ebb9@byu.net>
2009-06-17 22:13:22 -06:00