summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2014-10-19Removed wasteIgor Pashev2-61/+0
2014-07-25Add --exclude-monotonic command line option.Julien Gilli1-0/+87
--exclude-monotonic prevents faketime from overriding the clock with id CLOCK_MONOTONIC when using clock_gettime. Add DONT_FAKE_MONOTONIC env variable to libfaketime that has the same effect. Add functional test for DONT_FAKE_MONOTONIC support.
2013-11-07Minor source code style fixesWolfgang Hommel1-15/+41
2013-10-20Use SIGUSR1 instead of SIGRTMIN in testsBalint Reczey1-4/+6
This will probably fix compilation on Debian GNU/Hurd
2013-10-20Fix tests on libc 2.17Balint Reczey1-1/+0
2013-10-13MacPorts changeset 112093 by ryandesignWolfgang Hommel1-3/+2
2013-10-11renamed library name from libfaketime.dylib.1 to libfaketime.1.dylib based ↵Wolfgang Hommel2-2/+2
on Apple design guidelines. Thanks to ryandesign at MacPorts
2013-10-06avoid unused variables warningsWolfgang Hommel1-3/+9
2013-10-04Add -Wextra and -Werror CFLAGS and also fix compile errorsBalint Reczey1-1/+1
2013-10-02improved readability of test script outputWolfgang Hommel1-0/+6
2013-10-01uniform test output styleWolfgang Hommel1-0/+16
2013-10-01improved output readability for timer testsWolfgang Hommel1-10/+23
2013-09-30Provide timer related functions compatible with GLIBC 2.2 and >= 2.3.3 [pr32 ↵Balint Reczey1-0/+99
@8615959]
2013-09-05fixed missing blank line before last timetest callWolfgang Hommel1-0/+1
2013-09-05Use nanosleep() in faked sleep() and usleep() to avoid rounding issues ↵Balint Reczey1-1/+2
[rbalint/pr28]
2013-09-02testing Makefile adapted for OSXWolfgang Hommel1-1/+1
2013-09-02Makefiles and test suite improved for OS XWolfgang Hommel2-0/+45
2013-09-01Revert "merged rbalint's pr27"Wolfgang Hommel1-0/+4
This reverts commit 5283614bec09c856ca0e71174ff9538ba1e8dae1, reversing changes made to 4ecef4db08c23d00fd66371970289c79acc2481b.
2013-08-29Revert 30dd22e..bdac73eWolfgang Hommel1-4/+0
This rolls back to commit 30dd22e15756c392e60366b458ee79985c2eb406.
2013-08-28Fake sleep() and friendsBalint Reczey1-0/+4
This speeds up testing ;-)
2013-06-20GNU/kFreeBSD fix by Petr Salinger, fixes Bug#712709Wolfgang Hommel1-0/+1
2012-08-30whitespace cleanupTomi Ollila6-13/+11
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.
2011-07-30Minor adaptions for Mac OS XWolfgang Hommel3-2/+37
2011-07-26compute pow() with shell only, in case we don't have bc, dc, perldon fong1-1/+13
2011-07-25add support for new framework for functional testsdon fong9-1/+333
2011-05-10Tell the compiler to be C99 compliant, enable all warnings.Lukas Fleischer1-1/+1
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10Cast time_t to unsigned integer when using printf().Lukas Fleischer1-1/+1
Suppress compiler warnings when using "-Wformat". Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10timetest.c: Add "sys/time.h" include (required for gettimeofday()).Lukas Fleischer1-0/+1
Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-05-10Test suite Makefile overhaul.Lukas Fleischer1-6/+15
* Use variables for compiler and linker flags. * Use variables for source/object files and binaries. * Use proper targets instead of phony targets to build the timetest program. Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
2011-04-27Move test suite to a separate subdirectory.Lukas Fleischer3-0/+124
* Move test suite related stuff from "src/" to "test/". * Fix "test.sh" to search for libfaketime libraries in the right place. * Split up Makefile into two separate Makefiles (one for the main program and one for the test suite). Test cases should go in another directory for the sake of clean code separation. This will also facilitate the creation of proper Makefiles. Signed-off-by: Lukas Fleischer <info@cryptocrack.de>