diff options
Diffstat (limited to 'tests/by-name')
-rw-r--r-- | tests/by-name/ba/back/test.nix | 2 | ||||
-rw-r--r-- | tests/by-name/gi/git-server/test.nix | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/tests/by-name/ba/back/test.nix b/tests/by-name/ba/back/test.nix index 220d100..63f2837 100644 --- a/tests/by-name/ba/back/test.nix +++ b/tests/by-name/ba/back/test.nix @@ -104,7 +104,7 @@ in ''}") with subtest("back server starts"): - server.wait_for_unit("${builtins.replaceStrings ["/"] ["_"] "back-${gitRepoPath}-${domain}.service"}") + server.wait_for_unit("${builtins.replaceStrings ["/"] ["_"] "back-${domain}.service"}") with subtest("client can access the server"): client.succeed("${pkgs.writeShellScript "curl-back" '' diff --git a/tests/by-name/gi/git-server/test.nix b/tests/by-name/gi/git-server/test.nix index 0cf3ee8..5cd8c33 100644 --- a/tests/by-name/gi/git-server/test.nix +++ b/tests/by-name/gi/git-server/test.nix @@ -62,18 +62,8 @@ in ../../../../modules ]; - system.activationScripts = { - gitolite = { - text = '' - if ! [ -d /srv/gitolite ]; then - mkdir --parents /srv/gitolite - chown -R git:git /srv/gitolite - fi - ''; - }; - }; - vhack = { + persist.enable = true; openssh.enable = true; nginx = { enable = true; |