1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00
sops-nix/pkgs
Jeremy Fleischman 33f18b404e Rework restart-and-reload to assert more strictly on the activation output
I've reworked the test to assert on the entire output. This allows us to
detect unexpected output without having to write weird "i expect this
random string to *not* show up assertions", which aren't great at
preventing regressions.

I did have to change the code under test a little bit to make it
behavior deterministically (by sorting the files it outputs).

tl;dr: this demonstrates <https://github.com/Mic92/sops-nix/issues/652>
but does not fix it. I will fix it in a subsequent commit.
2024-11-07 19:49:39 +00:00
..
sops-import-keys-hook Lint fixes (#539) 2024-04-18 16:19:26 +02:00
sops-init-gpg-key Update pkgs/sops-init-gpg-key/sops-init-gpg-key 2023-01-11 10:00:33 +01:00
sops-install-secrets Rework restart-and-reload to assert more strictly on the activation output 2024-11-07 19:49:39 +00:00
sops-pgp-hook reformat with gofumpt 2023-11-03 14:49:21 +01:00
cross-build.nix move all nix expressions to pkgs 2022-05-15 08:19:33 +02:00
lint.nix move all nix expressions to pkgs 2022-05-15 08:19:33 +02:00
sops-pgp-hook-test.nix vendorHash: make it overridable 2023-07-15 06:49:20 +00:00
unit-tests.nix no longer use out-dated aliases 2022-09-26 16:28:23 +02:00