diff options
author | Honnip <me@honnip.page> | 2024-05-27 18:02:14 +0900 |
---|---|---|
committer | Honnip <me@honnip.page> | 2024-05-27 18:04:55 +0900 |
commit | b2069e7fc72f542f65e2b8802b26fffffff5de69 (patch) | |
tree | 0c820baea181fe61d403efbf3800f5ebec9af2f2 /nixos | |
parent | d7062ba870086eca86f903774e190ae0aa982ac7 (diff) |
nixosTests.gnome-extensions: `ENABLED` and `DISABLED` states are renamed
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/01e9724d75a273ca43a7c268302d6c3802c8f850 Fix the test failure caused by the renaming of the states name from `ENABLED`, `DISABLED` to `ACTIVE` and `INACTIVE`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/gnome-extensions.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/gnome-extensions.nix b/nixos/tests/gnome-extensions.nix index b2b54e4b13a16..332cf44b0ed4f 100644 --- a/nixos/tests/gnome-extensions.nix +++ b/nixos/tests/gnome-extensions.nix @@ -137,11 +137,11 @@ import ./make-test-python.nix ( # Enable and optionally disable machine.succeed(f"${run "gnome-extensions enable {extension}"}") - checkState("ENABLED", extension) + checkState("ACTIVE", extension) if disable: machine.succeed(f"${run "gnome-extensions disable {extension}"}") - checkState("DISABLED", extension) + checkState("INACTIVE", extension) '' + lib.concatLines (map (e: ''checkExtension("${e}", False)'') alwaysOnExtensions) + lib.concatLines (map (e: ''checkExtension("${e}", True)'') testExtensions) |