nixpkgs/nixos
Yarny0 f6dca95c5d tsm-client: add test derivation and a module test
The tsm-client needs a tsm-server to do anything useful.
Without a server, automated tests can just
check diagnostic outputs for plausibility.

The commit at hand adds two tests:

1.
The command line interface `dsmc` is called,
then it is verified that the program does

* report the correct client version,
* find its configuration file,
* report a connection error.

2.
To check the GUI (and the tsm-client nixos module), we add a
vm test which uses the module to install `tsm-client-withGui`.
To verify that the GUI's basic functionality is present,
we skip over all connection failure related error
messages and open the "Connection Information"
dialog from the main application window.
This dialog presents the node name and the client version;
both are verified by the test.

Note: Our `tsm-client` build recipe consists of two packages:
The "unwrapped" package and the final package.
This commit puts the unwrapped one into the final
package's `passthru` so that tests can access
the original version string that is needed to check
the client version reported by the application.
2022-01-17 12:09:27 +01:00
..
doc Merge pull request #151946 from mweinelt/frr 2022-01-12 20:51:12 +01:00
lib lib/qemu-common: Add serial device name for RISC-V 2022-01-09 15:29:52 -08:00
maintainers create-amis.sh: possible deprecation 2021-11-11 09:04:29 -07:00
modules nixos/tsm-{client,backup}: use new type nonEmptyStr 2022-01-17 12:09:27 +01:00
tests tsm-client: add test derivation and a module test 2022-01-17 12:09:27 +01:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix lxdImage: split from docker profile, use generators.toYAML 2021-11-03 07:49:54 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.