python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / nixos / tests / fish.nix
blob3d9b13c6af70abda3c7bc090cb14190de3140d8c
1 import ./make-test-python.nix ({ pkgs, ... }: {
2   name = "fish";
4   nodes.machine =
5     { pkgs, ... }:
7     {
8       programs.fish.enable = true;
9       environment.systemPackages = with pkgs; [
10         coreutils
11         procps # kill collides with coreutils' to test https://github.com/NixOS/nixpkgs/issues/56432
12       ];
13     };
15   testScript =
16     ''
17       start_all()
18       machine.wait_for_file("/etc/fish/generated_completions/coreutils.fish")
19       machine.wait_for_file("/etc/fish/generated_completions/kill.fish")
20       machine.succeed(
21           "fish -ic 'echo $fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.local/share/fish/generated_completions$'"
22       )
23     '';