diff options
| author | Naïm Favier <n@monade.li> | 2022-02-25 18:03:55 +0100 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2022-02-26 19:13:40 +0900 |
| commit | 8022c82a39c19bd1fe000884703601532204b82f (patch) | |
| tree | 19690a1d3a46dff8c4795d91d8e58861c0a602ee /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 4d12b79cd7edfbe01216171dd6ef0e4c64851b0a (diff) | |
nixosTests.switchTest: fix race condition on /testpath
Currently the test-watch.service gets started in a loop as long as
/testpath exists, so `rm /testpath /testpath-modified` runs into a race
condition where if the service was just getting activated, it will
create /testpath-modified and make the test fail.
This is fixed by making the service RemainAfterExit so that it only
starts once, and stopping it manually after we remove /testpath.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
