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/sops-install-secrets
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
..
sshkeys Lint fixes (#539) 2024-04-18 16:19:26 +02:00
test-assets format type: add dotenv and ini 2023-01-17 10:55:52 -03:00
.envrc first commit 2020-07-06 07:31:57 +01:00
darwin.go darwin: Mount hfs+ case-sensitive 2024-05-22 17:51:40 +00:00
default.nix Reuse the existing nixpkgs instance for the tests instead of re-importing it (#611) 2024-09-01 14:30:42 +00:00
linux.go Lint fixes (#539) 2024-04-18 16:19:26 +02:00
main.go Rework restart-and-reload to assert more strictly on the activation output 2024-11-07 19:49:39 +00:00
main_test.go Allow to set uid and gid instead of owner and group. No checks will be performed when uid and gid are set. 2024-10-23 07:38:42 +00:00
nixos-test.nix Rework restart-and-reload to assert more strictly on the activation output 2024-11-07 19:49:39 +00:00
shell.nix no longer use out-dated aliases 2022-09-26 16:28:23 +02:00