pre-commit-ci[bot]
5a93542321
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Min RK
ebf640cb84
implement entrypoint in Python
...
- make sure to set PYTHONUNBUFFERED
- implement tee with subprocess readlines
- forward all relevant signals from entrypoint to 'true' command
- add monitor process to ensure child shuts down if parent does (maybe not useful in docker?)
2021-02-17 16:13:42 +01:00
Tim Head
6e372b5bc9
Extreme measures
2021-01-28 09:17:34 +01:00
Tim Head
f2ed09bdfb
Ensure output arrives on stderr
2020-11-26 14:53:31 +01:00
Tim Head
bbc3ee02c0
Merge pull request #882 from hwine/GH-881_make_macOS_docker_work
2020-04-27 16:20:20 +02:00
Hal Wine
69f4663700
Fix test_env.py
...
This works around an issue where the temp directory can not be added to
Docker. In this case, the directory is immediately deleted, and does not
occupy significant disk space. There should be no impact to the move.
2020-04-22 21:33:13 -07:00
Hal Wine
a09e523fd4
Expand test cases to cover current Docker handling
...
Examination of docker's handling showed a few additional cases were
needed.
2020-04-19 16:44:06 -07:00
Hal Wine
6f59fdb20f
Refactor to eliminate need for volume mount
...
This change allows, imo, the test to be clearer, and should also speed
up the test.
2020-04-19 16:41:11 -07:00
Hal Wine
af5d9c7129
Add failing test for bare env argument value
2020-04-18 09:59:35 -07:00
Min RK
f47acaa1bd
use getpass.getuser instead of os.getlogin
...
os.getlogin doesn't work everywhere (can raise OSError, inappropriate ioctl for device)
2019-09-08 11:54:22 +02:00
Tim Head
8b004e06dc
Apply auto formatting
...
Apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-06-03 21:37:25 +02:00
Min RK
a5d5e77ad1
move unittests into tests/unit directory
...
for easier test discovery so we don't skip tests without realizing
2018-12-17 13:06:28 +01:00