nixosTests.zsh-history: migrate to runTest

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

View file

@ -1319,7 +1319,7 @@ in {
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 = handleTest ./zrepl.nix {};
zsh-history = handleTest ./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,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, ... }: { pkgs, ... }:
{ {
name = "zsh-history"; name = "zsh-history";
@ -37,4 +36,3 @@ import ./make-test-python.nix (
default.succeed("/run/current-system/sw/bin/history list | grep -q foobar") default.succeed("/run/current-system/sw/bin/history list | grep -q foobar")
''; '';
} }
)