diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2025-05-12 15:27:24 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2025-05-13 11:14:13 +0200 |
| commit | c6978e8a58ff5a9fc1ab30310dedbdfc3f5ebc42 (patch) | |
| tree | 7f4dc5be2f0e820f2163cbb90ce805a87b7a7bcf /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 079ead620ac97c089a0eaabe87438ea2cb5f6f49 (diff) | |
nixos/test-driver: exit early if /dev/vhost-vsock isn't available
Right now it wrongly seems as if you can set
`sshBackdoor.enable = true;` for each test and not only for debugging
purposes.
This is wrong however since you'd need to pass /dev/vhost-vsock into the
sandbox for this (which is also a prerequisite for #392117).
To make that clear, two things were changed:
* add a warning to the manual to communicate this.
* exit both interactive and non-interactive driver early if
/dev/vhost-vsock is missing and the ssh backdoor is enabled.
If that's the case, we pass a CLI flag to the driver already in the
interactive case. This change also sets the flag for the
non-interactive case.
That way we also get a better error if somebody tries to enable this
on a system that doesn't support that.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
