]> err.no Git - util-linux/commit
tests: add library for LD_PRELOAD to manipulate with time() in tests
authorKarel Zak <kzak@redhat.com>
Wed, 14 Mar 2007 13:10:18 +0000 (14:10 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 14 Mar 2007 13:10:18 +0000 (14:10 +0100)
commit82640b11ba9fbb36e8d39c2a05671ef5f8011b68
tree9b45cf0b2a10f10e1d2fd8a1575e74e36312d22d
parent0e9f3267a719e9f96404fed9562faeab8f97ad62
tests: add library for LD_PRELOAD to manipulate with time() in tests

The cal command generates output that depends on time(). For reliable
regression tests we need to use still same time. It seems that LD_PRELOAD is
pretty simple way.

Signed-off-by: Karel Zak <kzak@redhat.com>
.gitignore
autogen.sh
config.h.in
configure.ac
tests/helpers/Makefile.am
tests/helpers/libpreload-time.c [new file with mode: 0644]