nixpkgs/pkgs
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
..
applications Merge pull request #154398 from r-ryantm/auto-update/gitRepo 2022-01-13 19:54:51 +01:00
build-support Merge pull request #153457 from heyarne/bugfix/build-graalvm-native-image-utf8 2022-01-09 09:14:29 -05:00
common-updater
data Merge pull request #154746 from romildo/upd.qogir-icon-theme 2022-01-13 14:35:38 +01:00
desktops Merge pull request #154796 from dasj19/xiphos-enchant2 2022-01-13 11:34:59 -03:00
development Merge pull request #154920 from dasj19/gdk-pixbuf-xlib-updates 2022-01-13 20:37:23 +01:00
games Merge pull request #154830 from AndersonTorres/new-games 2022-01-13 10:07:35 -03:00
misc vscode-extensions.scalameta.metals: 1.10.15 -> 1.11.0 2022-01-13 14:44:28 +01:00
os-specific cryptsetup: 2.4.2 -> 2.4.3 2022-01-13 18:24:48 +01:00
pkgs-lib
servers nginxQuic: 10522e8dea41 -> 6f8253673669 2022-01-13 16:58:34 +01:00
shells zsh: exclude util-linux on darwin 2022-01-11 14:00:32 -05:00
stdenv
test Merge pull request #147690 from pasqui23/hosts 2022-01-08 20:40:31 +01:00
tools tsm-client: add test derivation and a module test 2022-01-17 12:09:27 +01:00
top-level tsm-client: use explicit package option for Java GUI 2022-01-17 12:09:26 +01:00