diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-01-20 20:12:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 20:12:37 +0100 |
commit | ec84cbf95fefdca62db9b277f5591c13e2723c96 (patch) | |
tree | ee4353610182837ae01ec0235f38d1f591ee183c /nixos/tests | |
parent | 88637a1c33a5c901a4f5b63b2f218a5017a952a2 (diff) | |
parent | 5858d8465821eae15c72c148b5734a3af8687b56 (diff) |
Merge pull request #110107 from LeSuisse/cifs-utils-missing-python3-smbinfo
cifs-utils: missing python3 dependency for smbinfo
Diffstat (limited to 'nixos/tests')
-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") + ''; +}) |