sapling/eden/integration
Matt Glazar 9b0acaca4a Create test utilities for systemd service management
Summary:
In order to test 'eden start', etc. when edenfs is managed by systemd, we need to install the systemd service and let the Eden CLI start and stop the service. To avoid interfering with the user's running edenfs systemd service, and to avoid interference between unrelated tests, tests need to create a new instance of systemd.

Create a utility for tests to create a temporary systemd instance. It should work regardless of whether the host uses systemd to manage its services. (systemd's tooling must still be installed in order to use the utility, though.)

This utility is currently unused, but will be used in future diffs as 'eden start', etc. grows systemd support.

Reviewed By: simpkins

Differential Revision: D10286940

fbshipit-source-id: 4fbaa695bf36ac4ae44b5c12b6255514bd7143b3
2018-10-30 18:41:01 -07:00
..
helpers Create test utilities for systemd service management 2018-10-26 11:27:23 -07:00
hg tests: change HgRepository.status() to return a dictionary 2018-10-23 13:39:35 -07:00
lib Create test utilities for systemd service management 2018-10-30 18:41:01 -07:00
snapshot Create test utilities for systemd service management 2018-10-30 18:41:01 -07:00
basic_test.py have "eden clone" create a README file for unmounted checkouts 2018-06-26 21:06:42 -07:00
clone_test.py Add test for multiple edenfs to eden doctor 2018-10-11 18:55:28 -07:00
corrupt_overlay_test.py Fix crash during inode scan 2018-09-17 14:23:53 -07:00
debug_getpath_test.py update the debug subcommands to use find_checkout() 2018-08-22 11:06:48 -07:00
doteden_test.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
edenclient_test.py enable typechecking on Eden Python libraries 2018-08-03 15:07:00 -07:00
fsck_test.py enable typechecking on Eden Python libraries 2018-08-03 15:07:00 -07:00
glob_test.py define paths as binary rather than strings in the thrift interface 2018-08-11 01:35:49 -07:00
health_test.py Delete dead code in health_test.py 2018-10-30 14:04:41 -07:00
help_test.py improve the run_unchecked() API in the integration tests 2018-07-19 12:42:53 -07:00
hypothesis_simple_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
info_test.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
materialized_query_test.py restructure JournalDelta and fix Watchman subscription race 2018-08-15 14:52:06 -07:00
mmap_test.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
oexcl_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
patch_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
persistence_test.py have Overlay track nextInodeNumber_ instead of InodeMap 2018-05-31 01:46:15 -07:00
rage_test.py fix the eden rage command 2018-07-23 13:22:08 -07:00
rc_test.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
remount_test.py have "eden clone" create a README file for unmounted checkouts 2018-06-26 21:06:42 -07:00
rename_test.py update mtime on directories when renaming 2018-06-01 11:39:01 -07:00
repo_test.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
restart_test.py Test restart/stop/status with 'eden start'd and ad-hoc daemon 2018-10-23 14:12:03 -07:00
sed_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
setattr_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
stale_test.py add integration tests for CLI behavior inside a stale mount 2018-07-27 18:36:55 -07:00
start_test.py Write all 'eden start' messages to stderr 2018-10-22 20:27:25 -07:00
stop_test.py Test restart/stop/status with 'eden start'd and ad-hoc daemon 2018-10-23 14:12:03 -07:00
systemd_fixture_test.py Create test utilities for systemd service management 2018-10-30 18:41:01 -07:00
systemd_test.py Add opt-in for experimental systemd mode 2018-10-22 20:27:25 -07:00
takeover_test.py add test verifying flush_cache works after a graceful restart 2018-05-31 18:52:27 -07:00
thrift_test.py Fix eden debug unload . from the root of the checkout 2018-09-13 14:55:03 -07:00
unixsocket_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
unlink_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
xattr_test.py allow reading xattrs from files after getxattr is called on a directory 2018-10-22 20:27:26 -07:00