Merge pull request #2 from dfong/master

new framework for functional tests
Merge pull request #3 from dfong/master

eliminate use of dc
Described recent changes and next steps
Minor adaptions for Mac OS X
Added TODO item about libfaketime on OS X 10.7 (Lion)

libfaketime appears not to work on OS X 10.7 (Lion). It does not fake th
e time and sporadically causes a segfault.
Fixed issues on Mac OS X 10.7 Lion

- Changed interception of internal syscalls on OSX
  and malloc arena treatment
- Adapted the faketime wrapper shell script to set
  the appropriate environment variables on OSX and
  use gdate instead of date
- Added README.OSX to explain the OSX-specific
  aspects of compiling and using libfaketime
Minor changes

Minor changes to README.OSX
Fixed build issues as suggested by Paul Wouters

- Updates COPYING file (fixed wrong FSE address)
- Avoid overwriting CFLAGS and LDFLAGS in src/Makefile
Added new feature to limit libfaketime activity

These changes add a new feature that can be used to limit
libfaketime's activity period, and prepares for the upcoming
0.9 release.
Four new environment variables can optionally be set:
FAKETIME_START_AFTER_SECONDS, FAKETIME_STOP_AFTER_SECONDS,
FAKETIME_START_AFTER_NUMCALLS, and FAKETIME_START_AFTER_NUMCALLS.
libfaketime will only return faked timestamps if the program's
runtime is between FAKETIME_START_AFTER_SECONDS and
FAKETIME_STOP_AFTER_SECONDS seconds. For example, a program
may be started with the real current time, and after 60
seconds, it will start to receive faked timestamps, e.g.,
one year in the future. The other pair of environment
variables limits libfaketime's activity based on the number
of time-related system calls of the started program,
instead of its run-time in seconds.
Using this new feature will break applications that cannot
handle larger sudden changes in timestamps, so use it with
care.
Added feature to exec external command after x sec

This feature makes libfaketime execute an arbitrary system
command, such as a shell script, after a program has been
running for X seconds or has made Y time-related function
calls.
It is controlled by three environment variables.
FAKETIME_SPAWN_TARGET is the full path + file name +
command line arguments to the user-specified system
command.
FAKETIME_SPAWN_SECONDS is the number of seconds (after
program start / program's first time function call) after
which FAKETIME_SPAWN_TARGET will be executed.
FAKETIME_SPAWN_NUMCALLS can be used as an alternative
to ..._SECONDS.
Updated todo list to reflect OSX improvements

The Mac OS X 10.7 Lion issues have been fixed. Updated
the todo list accordingly and outlined the next steps.
Updated documentation for the upcoming 0.9 release
Initialize INSTALL as suggested by Lukas Fleischer
Reorder linker flags as suggested by Lukas Fleischer
whitespace cleanup

Used (emacs) M-x untabify for whole faketime.c as the prevailing
style in that file used spaces for indentation.

Used M-x delete-trailing-whitespace to all files that had either
trailing whitespace or empty lines at the end of file to remove
those.
Merge pull request #7 from domo141/topic-wsc1

whitespace cleanup
src/faketime: implicit '-f' for $offset that is faketime-known relative

When $offset arg looks like the relative value described in README
section "4d) Using offsets for relative dates", set USEDIRECT variable
even when '-f' option is not present. Without the '-f' the $offset would
be useless so this is convenience feature for the user. Using '-f' in
command line to explicitly set USEDIRECT is retained.
Merge pull request #8 from domo141/d3ff79a

Implementation of implicit '-f'
fixed a bug reported by goofansu
Fixed