Robert Hensing
0e3a7e34a0
Merge pull request #8506 from corngood/ssh-master
...
Pass NIX_SSHOPTS when checking for an ssh master connection.
2023-07-18 15:47:57 +02:00
Jean-François Roche
80c9259756
Allow to sign path as unprivileged user
...
User can now sign path as unprivileged/allowed user
refs #1708
2023-06-27 18:31:31 +02:00
Eelco Dolstra
1ad3328c5e
Allow tarball URLs to redirect to a lockable immutable URL
...
Previously, for tarball flakes, we recorded the original URL of the
tarball flake, rather than the URL to which it ultimately
redirects. Thus, a flake URL like
http://example.org/patchelf-latest.tar that redirects to
http://example.org/patchelf- <revision>.tar was not really usable. We
couldn't record the redirected URL, because sites like GitHub redirect
to CDN URLs that we can't rely on to be stable.
So now we use the redirected URL only if the server returns the
`x-nix-is-immutable` or `x-amz-meta-nix-is-immutable` headers in its
response.
2023-06-13 14:17:45 +02:00
David McFarland
5454fdcceb
Add test of explicit ssh control path in nix-copy test
...
This highlights a problem caused by SSHMaster::isMasterRunning returning
false when NIX_SSHOPTS contains -oControlPath.
2023-06-13 00:54:52 -03:00
Alexander Bantyev
992e2ed0cf
Add a test for ControlMaster
2023-05-17 11:34:45 +04:00
Alexander Bantyev
85a2d1d94f
Add a test for nix copy over ssh
...
Check that nix copy can copy stuff, refuses to copy unsigned paths by
default, and doesn't hide the ssh password prompt.
2023-03-22 09:45:08 +04:00
Yorick
49fd72a903
Make /etc writability conditional on uid-range feature
2023-02-14 13:55:41 +01:00
Yorick
ad1f61c39b
container test: make /etc writable
2023-02-14 12:26:40 +01:00
Eelco Dolstra
67451d8ed7
Merge pull request #7802 from edolstra/fix-7783
...
Fix PID namespace support check
2023-02-10 20:41:13 +01:00
Eelco Dolstra
a21405a4e8
Add regression test
2023-02-10 17:51:44 +01:00
Robert Hensing
7908a41631
tests/authorization: Simplify assertion
...
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
2023-02-10 13:03:24 +01:00
Robert Hensing
72b18f05a2
Add a basic daemon authorization test
2023-02-07 16:43:09 +01:00
Robert Hensing
261c25601d
Use the official, documented NixOS runTest interface
2023-01-20 16:23:52 +01:00
Robert Hensing
74026bb101
tests: Move NixOS tests to tests/nixos
...
This will allow contributors to find them more easily.
2023-01-20 15:33:13 +01:00