test-symlinkat: enhance test
authorEric Blake <ebb9@byu.net>
Mon, 21 Sep 2009 20:07:44 +0000 (14:07 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 23 Sep 2009 11:41:21 +0000 (05:41 -0600)
commit41e61aadba3855410c5b3d97280107f51c225048
tree91d2420f6523796f361be44afb6d742a4732449c
parent0510d19e64a0c3cfdd7ebe31866be9b45229590a
test-symlinkat: enhance test

* tests/test-readlink.c (main): Move guts...
* tests/test-readlink.h (test_readlink): ...into new file.
* tests/test-symlink.c (main): Move guts...
* tests/test-symlink.h (test_symlink): ...into new file.
* tests/test-symlinkat.c (main): Use new files for further
coverage.
(do_symlink, do_readlink): New helper functions.
* modules/symlink-tests (Files): Ship new file.
(Depends-on): Add stdbool.
* modules/readlink-tests (Files): Ship new file.
(Depends-on): Add stdbool.
* modules/symlinkat-tests (Files): Use new files.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
modules/readlink-tests
modules/symlink-tests
modules/symlinkat-tests
tests/test-readlink.c
tests/test-readlink.h [new file with mode: 0644]
tests/test-symlink.c
tests/test-symlink.h [new file with mode: 0644]
tests/test-symlinkat.c