Commit Graph

  • 1686664c97 faketime.c: allow user to select their implementation of GNU date Jim Klimov 2021-03-28 20:11:12 +03:00
  • 5217bcd13d src/sunos_endian.h: No newline at end of file Jim Klimov 2021-03-28 18:54:22 +03:00
  • 8ae4c9bc0e Merge pull request #313 from dkg/test-variadic-promotion Wolfgang Hommel 2021-03-06 09:46:07 +01:00
  • 6733dc3a8d tests: Confirm variadic argument promotion assumptions when INTERCEPT_SYSCALL Daniel Kahn Gillmor 2021-03-05 21:41:48 -05:00
  • 008d33fdf2 Test assumptions about variadic re-packing Daniel Kahn Gillmor 2021-03-05 21:32:12 -05:00
  • 5a0071f952 Centralize assumptions about variadic argument re-packing Daniel Kahn Gillmor 2021-03-05 21:28:53 -05:00
  • 51f1248593 tests: use CFLAGS from the environment. Daniel Kahn Gillmor 2021-03-05 21:26:18 -05:00
  • e70b143733 Prepare to add new tests depending on the definitions Daniel Kahn Gillmor 2021-03-05 02:44:46 -05:00
  • e1073c8733 Promote syscall passthrough arguments to long instead of int (#310) Wolfgang Hommel 2021-03-04 19:24:24 +01:00
  • 01b0b4bb56 Merge pull request #312 from dkg/avoid-diversion Wolfgang Hommel 2021-03-03 06:36:26 +01:00
  • 5f5756ccd9 Pass through syscall(__NR_clock_gettime) if FAKERANDOM is unset Daniel Kahn Gillmor 2021-03-02 19:53:07 -05:00
  • bca9f1bf90 Merge pull request #311 from dkg/more-testing Wolfgang Hommel 2021-03-02 21:44:56 +01:00
  • d3f3ee38c6 Add syscall_clock_gettime_heap snippet Daniel Kahn Gillmor 2021-03-02 10:32:39 -05:00
  • a3f9410e51 Add clock_gettime_heap snippet Daniel Kahn Gillmor 2021-03-02 10:26:20 -05:00
  • a92d6ffe7c add snippet testing clock_gettime(CLOCK_REALTIME) Daniel Kahn Gillmor 2021-03-02 10:23:11 -05:00
  • 253774c8d8 added new simple snippet "time.c" Daniel Kahn Gillmor 2021-03-01 21:47:18 -05:00
  • 986e6e1cdc Clarify test/Makefile and snippet testing documentation Daniel Kahn Gillmor 2021-03-01 21:40:57 -05:00
  • 0bfb72b627 tests: normalize "where" variable to include framework prefix and snippet name Daniel Kahn Gillmor 2021-03-01 21:08:00 -05:00
  • 5a1bd98979 parallelize library_contructors test Daniel Kahn Gillmor 2021-03-01 21:05:22 -05:00
  • 7e62881c8f Name "snippets" explicitly Daniel Kahn Gillmor 2021-03-01 15:06:22 -05:00
  • 0e6b1b2460 Merge pull request #309 from dkg/faketime-pid Wolfgang Hommel 2021-02-26 20:46:27 +01:00
  • 1297568caf Merge pull request #306 from dkg/cleanup-tests Wolfgang Hommel 2021-02-26 20:28:38 +01:00
  • 940502b3de Added snippet for syscall(__NR_clock_gettime) Daniel Kahn Gillmor 2021-02-25 20:44:36 -05:00
  • 26b4b395e9 Include a check for getentropy interception Daniel Kahn Gillmor 2021-02-25 18:30:36 -05:00
  • 0b0cc29d2e test/randomtest.sh: avoid touching the filesystem Daniel Kahn Gillmor 2021-02-25 21:56:51 -05:00
  • a5885f1479 Drop more duplicative tests Daniel Kahn Gillmor 2021-02-25 21:51:46 -05:00
  • 0872c6c0c0 Add test_variable_data framework that reuses the snippets Daniel Kahn Gillmor 2021-02-25 21:41:25 -05:00
  • a51a38d0ae Handle when another library uses a syscall in a constructor Daniel Kahn Gillmor 2021-02-25 12:14:10 -05:00
  • f47223ff12 Include snippet for syscall() interception in library constructors Daniel Kahn Gillmor 2021-02-25 18:23:42 -05:00
  • 7b1d0958b5 Drop duplicate library constructor preload tests Daniel Kahn Gillmor 2021-02-25 20:27:30 -05:00
  • 17522c5ba1 Overhaul testing library constructors Daniel Kahn Gillmor 2021-02-25 14:07:17 -05:00
  • 5e62eafcc2 faketime: add -p option to wrapper for setting PID Daniel Kahn Gillmor 2021-02-25 19:11:45 -05:00
  • 01f6bc76c9 clean up after syscall_test properly Daniel Kahn Gillmor 2021-02-25 12:09:18 -05:00
  • f329eee8c5 Send test output to stdout, not stderr Daniel Kahn Gillmor 2021-02-25 11:59:36 -05:00
  • c89582fc1f divert syscall() to clock_gettime() (#176 #302) Wolfgang Hommel 2021-02-25 21:22:41 +01:00
  • 9a38e5d775 Merge pull request #305 from dkg/fix-shm Wolfgang Hommel 2021-02-25 19:29:11 +01:00
  • 7f4e5c378a Use real_getpid instead of getpid in ft_shm_create() under FAKE_PID Daniel Kahn Gillmor 2021-02-25 10:38:48 -05:00
  • 9337bccfcb Merge pull request #304 from dkg/cover-getentropy Wolfgang Hommel 2021-02-25 06:27:35 +01:00
  • 3668fd9b0f Merge pull request #302 from dkg/syscall-interception Wolfgang Hommel 2021-02-25 06:15:42 +01:00
  • 3a81c6becd if FAKE_RANDOM is present, try to intercept getentropy as well. Daniel Kahn Gillmor 2021-02-24 16:14:02 -05:00
  • 3db9d20828 Test getentropy Daniel Kahn Gillmor 2021-02-24 16:03:57 -05:00
  • 20e74b1b02 clean up randomtest.sh, make more flexible Daniel Kahn Gillmor 2021-02-24 15:58:54 -05:00
  • 00d6edf90c Test repeated invocations of getrandom() Daniel Kahn Gillmor 2021-02-24 15:24:45 -05:00
  • 811283e683 Intercept syscall Daniel Kahn Gillmor 2021-02-24 12:36:38 -05:00
  • a8283c646d Merge pull request #300 from dkg/improve-tests Wolfgang Hommel 2021-02-24 17:54:30 +01:00
  • 2ca0b719e3 test getpid() against library with constructor that calls it Daniel Kahn Gillmor 2021-02-24 10:33:43 -05:00
  • f6ddc32695 Genericize build rules for testing external libraries with constructor Daniel Kahn Gillmor 2021-02-24 10:30:22 -05:00
  • 8de66f799f randomtest.sh requires librandom.so to be present Daniel Kahn Gillmor 2021-02-24 10:31:44 -05:00
  • 63fe6f0be5 Merge pull request #298 from dkg/fakepid Wolfgang Hommel 2021-02-24 13:53:45 +01:00
  • 062abac575 Merge pull request #299 from dkg/fix-getrandom Wolfgang Hommel 2021-02-24 06:34:46 +01:00
  • 004222585e Enable intercepting getpid() Daniel Kahn Gillmor 2021-02-23 21:42:42 -05:00
  • 9c59e24d33 Ensure that real_getrandom is initialized properly Daniel Kahn Gillmor 2021-02-23 22:07:20 -05:00
  • 46dc625642 Merge pull request #296 from dkg/test-getrandom-library-init Wolfgang Hommel 2021-02-23 22:08:43 +01:00
  • 8f2c856d8e test getrandom() in library initialization without FAKERANDOM_SEED Daniel Kahn Gillmor 2021-02-23 11:10:49 -05:00
  • b4a822cd6a Merge pull request #294 from dkg/improve-FAKE_RANDOM-tests Wolfgang Hommel 2021-02-23 06:24:57 +01:00
  • 54994ceb0d Improve tests for FAKE_RANDOM Daniel Kahn Gillmor 2021-02-22 22:37:33 -05:00
  • 3c0b101a84 Version bump to v0.9.9 v0.9.9 Wolfgang Hommel 2021-02-21 18:27:02 +01:00
  • 44a6d1f0fa Set FORCE_MONOTONIC_FIX for GitHub CI Wolfgang Hommel 2021-02-12 17:04:28 +01:00
  • 772d9523a7 Do not fail due to timer overrun counter mismatch on GNU/Hurd for now (#287) Wolfgang Hommel 2021-02-12 16:59:42 +01:00
  • 8b5519d496 Handle EINTR during sem_wait() in selected functions (addresses #291) Wolfgang Hommel 2021-02-09 20:16:08 +01:00
  • 3ba66842aa Make randomtest.sh use FAKETIME_TESTLIB like the rest of the test cases Wolfgang Hommel 2021-02-04 21:40:55 +01:00
  • 4359458c7c Merge pull request #289 from dkg/getrandom_test-cleanup Wolfgang Hommel 2021-02-04 21:39:02 +01:00
  • 726c4657fc Merge branch 'master' of github.com:wolfcw/libfaketime Wolfgang Hommel 2021-02-04 21:32:22 +01:00
  • 8853afb509 Added optional FAKETIME_TESTLIB environment variable for make test (#288) Wolfgang Hommel 2021-02-04 21:30:01 +01:00
  • 48f280ac86 Merge pull request #285 from dkg/fix-clobber Wolfgang Hommel 2021-02-04 20:07:56 +01:00
  • 47e6f5f33d Merge pull request #283 from dkg/update-version-number Wolfgang Hommel 2021-02-03 19:53:49 +01:00
  • e4e5ea6211 Merge pull request #286 from dkg/speling Wolfgang Hommel 2021-02-03 19:51:19 +01:00
  • 206ae9ea80 Ease build of getrandom_test Daniel Kahn Gillmor 2021-02-03 12:57:20 -05:00
  • cce377b371 Fix spelling Daniel Kahn Gillmor 2021-02-03 11:55:28 -05:00
  • 5e6ed4cd2c Try to fix warning about clobbering under optimization (Closes #284) Daniel Kahn Gillmor 2021-02-02 19:43:00 -05:00
  • 55e634a6ca fix embedded version number Daniel Kahn Gillmor 2021-02-02 19:20:45 -05:00
  • 532816864e Merge pull request #278 from oxan/prefix-error-messages Wolfgang Hommel 2020-12-08 19:14:47 +01:00
  • 4564afb924 faketime: Prefix error messages with faketime Oxan van Leeuwen 2020-12-08 17:27:06 +01:00
  • 5b8673df54 Updated macOS-specific documentation, especially regarding SIP issues Wolfgang Hommel 2020-11-16 17:05:17 +01:00
  • e00ba47ca9 Preliminary documentation related to #275 changes Wolfgang Hommel 2020-11-16 16:56:47 +01:00
  • ca2f3fefa1 Preliminary support to intercept getrandom() #275 Wolfgang Hommel 2020-11-15 21:57:10 +01:00
  • dacc5866a7 Merge pull request #270 from sanjaymsh/ppc64le Wolfgang Hommel 2020-10-07 19:52:48 +02:00
  • b35e7c8ca6 Travis-ci: added support for ppc64le sanjay-cpu 2020-10-07 07:20:31 +00:00
  • 25a60d0292 Merge pull request #261 from WayneD/master Wolfgang Hommel 2020-07-29 08:11:58 +02:00
  • d90c8c26d3 Some fixes and improvements for utime functions. Wayne Davison 2020-07-28 17:34:38 -07:00
  • c683c81417 Merge pull request #257 from robinlinden/deprecated-func-warning Wolfgang Hommel 2020-05-29 06:35:51 +02:00
  • f19d68ea32 Fix make test build failure on gcc 9.3 Robin Linden 2020-05-28 23:09:07 +02:00
  • c36674c27f remote automake branch workflow until work on it continues Wolfgang Hommel 2020-05-10 13:28:30 +02:00
  • 112809f986 Merge branch 'master' of github.com:wolfcw/libfaketime Wolfgang Hommel 2020-04-10 13:28:05 +02:00
  • 9498b2cacc add ./configure step to action for automake branch Wolfgang Hommel 2020-04-10 13:27:51 +02:00
  • c9a3b1bace Merge pull request #248 from sdettmer/fix_settime_when_using_rcfile Wolfgang Hommel 2020-04-09 19:53:06 +02:00
  • 834953480e Merge pull request #249 from sdettmer/settime_update_timestamp_file Wolfgang Hommel 2020-04-09 19:47:06 +02:00
  • 57de5bbe83 Merge pull request #252 from sdettmer/automake_make_check automake Wolfgang Hommel 2020-04-09 19:29:29 +02:00
  • c2b5b71777 First few fixes for make check (#250) Steffen Dettmer 2020-04-09 17:43:51 +02:00
  • 6c0947c86e Fixed make distcheck (#250) Steffen Dettmer 2020-04-09 16:59:16 +02:00
  • b36ad2342c Removed automatically created files (#250) Steffen Dettmer 2020-04-09 16:58:29 +02:00
  • c1d10321a7 settime functions support FAKETIME_UPDATE_TIMESTAMP_FILE (for #239). Steffen Dettmer 2020-04-09 15:54:23 +02:00
  • 58ccfb6c27 Fixes #247, FAKE_SETTIME has effect even if rcfile is present Steffen Dettmer 2020-04-09 13:04:40 +02:00
  • 1e25e1f042 fix for github action for automake branch Wolfgang Hommel 2020-04-09 11:41:01 +02:00
  • 690ed3f158 github action for automake branch Wolfgang Hommel 2020-04-09 06:41:10 +02:00
  • d40d0ebaa7 adapt travis.yml to automake Wolfgang Hommel 2020-04-09 06:37:39 +02:00
  • 081845440b fix bracket syntax on Linux Wolfgang Hommel 2020-04-09 06:34:20 +02:00
  • 30207e8fdf merge with @manchicken's automake branch Wolfgang Hommel 2020-04-09 06:26:49 +02:00
  • d2f0daf092 Merge pull request #246 from sdettmer/dev/sde/pthread_cond_init_232_lazy_init Wolfgang Hommel 2020-04-08 20:11:57 +02:00
  • c5b5d0b56e Add lazy ftpl_init() to pthread_cond_init_232(), fixes #245. Steffen Dettmer 2020-04-08 19:57:14 +02:00