]> err.no Git - util-linux/commit
cal: add test code
authorKarel Zak <kzak@redhat.com>
Tue, 10 Jul 2007 21:20:42 +0000 (23:20 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Jul 2007 21:20:42 +0000 (23:20 +0200)
commit7e7f73cf9d7a55cde858a07c1d16bde57006fb6d
treed86f36861d635c7dddbde60e04d4351e4a888f13
parentdb94975b5972a691d32fe34ed82d5f76713f9895
cal: add test code

This patch allows to override the time() and define a different time by
TEST_TIME env. variable.  The code has to be compiled with -DTEST_CAL.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/Makefile.am
misc-utils/cal.c