tests: fix gnupg stub (#3685)

systemd now depends on `gnupg.override`, so we need a stub for systemd too.
This commit is contained in:
Naïm Favier 2023-02-19 11:19:00 +01:00 committed by GitHub
parent da72e6fc6b
commit 5ffb0f1f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@
};
test.stubs.gnupg = { };
test.stubs.systemd = { }; # depends on gnupg.override
nmt.script = ''
assertFileContains activate "export GNUPGHOME='/home/hm-user/.gnupg'"

View File

@ -9,6 +9,7 @@ with lib;
programs.gpg.enable = true;
test.stubs.gnupg = { };
test.stubs.systemd = { }; # depends on gnupg.override
nmt.script = ''
in="${config.systemd.user.sockets.gpg-agent.Socket.ListenStream}"

View File

@ -12,6 +12,7 @@ with lib;
};
test.stubs.gnupg = { };
test.stubs.systemd = { }; # depends on gnupg.override
nmt.script = ''
in="${config.systemd.user.sockets.gpg-agent.Socket.ListenStream}"