ssh: add some basic tests
This commit is contained in:
parent
eec78fbd1e
commit
989e636d98
6 changed files with 99 additions and 2 deletions
16
tests/modules/programs/ssh/default-config.nix
Normal file
16
tests/modules/programs/ssh/default-config.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.ssh/config
|
||||
assertFileContent home-files/.ssh/config ${./default-config-expected.conf}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue