diff options
author | Thomas Gerbet <thomas@gerbet.me> | 2021-01-20 09:38:09 +0100 |
---|---|---|
committer | Thomas Gerbet <thomas@gerbet.me> | 2021-01-20 18:39:42 +0100 |
commit | 5858d8465821eae15c72c148b5734a3af8687b56 (patch) | |
tree | 18c2bb3778be8569456ddb6a8a694f6a3bd67fa2 /nixos | |
parent | 35ad1687a73228b11c778eb102e05d0a23e014ab (diff) |
cifs-utils: missing python3 dependency for smbinfo
Since cifs-utils 6.12, smbinfo needs Python to be usable.
Issue introduced in 033208fd46e03178655f3c4a59add1d9dbf57731.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/cifs-utils.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/tests/cifs-utils.nix b/nixos/tests/cifs-utils.nix new file mode 100644 index 000000000000..98587b10d941 --- /dev/null +++ b/nixos/tests/cifs-utils.nix @@ -0,0 +1,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") + ''; +}) |