ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
12 lines
406 B
Nix
12 lines
406 B
Nix
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")
|
|
'';
|
|
})
|