summary refs log tree commit diff
path: root/nixos/tests/cifs-utils.nix
blob: 98587b10d941a165f29abef996b3a707bb27acee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import ./make-test-python.nix ({ pkgs, ... }: {
  name = "cifs-utils";

  machine = { pkgs, ... }: { environment.systemPackages = [ pkgs.cifs-utils ]; };

  testScript = ''
    machine.succeed("smbinfo -h")
    machine.succeed("smb2-quota -h")
    assert "${pkgs.cifs-utils.version}" in machine.succeed("cifs.upcall -v")
    assert "${pkgs.cifs-utils.version}" in machine.succeed("mount.cifs -V")
  '';
})