nixosTests.zrepl: migrate to runTest

Part Of #386873
This commit is contained in:
Martin Weinelt 2025-03-14 22:41:58 +01:00
parent 04bc28c680
commit 89bf1ebca0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 4 additions and 4 deletions

View file

@ -1318,7 +1318,7 @@ in {
zoneminder = handleTest ./zoneminder.nix {}; zoneminder = handleTest ./zoneminder.nix {};
zookeeper = handleTest ./zookeeper.nix {}; zookeeper = handleTest ./zookeeper.nix {};
zram-generator = handleTest ./zram-generator.nix {}; zram-generator = handleTest ./zram-generator.nix {};
zrepl = handleTest ./zrepl.nix {}; zrepl = runTest ./zrepl.nix;
zsh-history = runTest ./zsh-history.nix; zsh-history = runTest ./zsh-history.nix;
zwave-js = runTest ./zwave-js.nix; zwave-js = runTest ./zwave-js.nix;
zwave-js-ui = runTest ./zwave-js-ui.nix; zwave-js-ui = runTest ./zwave-js-ui.nix;

View file

@ -1,8 +1,8 @@
import ./make-test-python.nix ({ {
name = "zrepl"; name = "zrepl";
nodes.host = nodes.host =
{ config, pkgs, ... }: { pkgs, ... }:
{ {
config = { config = {
# Prerequisites for ZFS and tests. # Prerequisites for ZFS and tests.
@ -73,4 +73,4 @@ import ./make-test-python.nix ({
"zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out "zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out
), "zrepl snapshot counter for test was not found in Prometheus output" ), "zrepl snapshot counter for test was not found in Prometheus output"
''; '';
}) }