diff options
author | Izorkin <izorkin@elven.pw> | 2022-03-09 23:36:31 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2022-03-09 23:43:48 +0300 |
commit | a822d0c0756c085cb18b889bfcd39838e14b6fa1 (patch) | |
tree | fa06a118328681b324487ea78d017e265baa1289 /nixos | |
parent | b9c5e1e81adc66ffd12cf0afd5b061317a80c790 (diff) | |
download | nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar.gz nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar.bz2 nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar.lz nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar.xz nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.tar.zst nixpkgs-a822d0c0756c085cb18b889bfcd39838e14b6fa1.zip |
nixos/tests/peertube: add check peertube cli
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/web-apps/peertube.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/web-apps/peertube.nix b/nixos/tests/web-apps/peertube.nix index 38b31f6c332..706c598338e 100644 --- a/nixos/tests/web-apps/peertube.nix +++ b/nixos/tests/web-apps/peertube.nix @@ -120,6 +120,9 @@ import ../make-test-python.nix ({pkgs, ...}: # Check if PeerTube is running client.succeed("curl --fail http://peertube.local:9000/api/v1/config/about | jq -r '.instance.name' | grep 'PeerTube\ Test\ Server'") + # Check PeerTube CLI version + assert "${pkgs.peertube.version}" in server.succeed('su - peertube -s /bin/sh -c "peertube --version"') + client.shutdown() server.shutdown() database.shutdown() |