1 import ./make-test-python.nix ({ pkgs, ... }:
6 meta.maintainers = [ pkgs.lib.maintainers.eelco ];
11 { virtualisation.fileSystems =
14 device = "//server/public";
15 options = [ "guest" ];
22 { services.samba.enable = true;
23 services.samba.openFirewall = true;
24 services.samba.shares.public =
29 comment = "Public samba share.";
34 # client# [ 4.542997] mount[777]: sh: systemd-ask-password: command not found
39 server.wait_for_unit("samba.target")
40 server.succeed("mkdir -p /public; echo bar > /public/foo")
43 client.wait_for_unit("remote-fs.target")
44 client.succeed("[[ $(cat /public/foo) = bar ]]")