From 3c3429791c57cbdddb85938357ad4382a4a00842 Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 25 Mar 2026 22:15:26 +0300 Subject: [PATCH] nixos/tests/misc: simplify check The recent changes to the man page made is so that when rendering on a terminal, which is width justified, the man viewer adds a double space between "NixOS" and "module", which fails the test. Yes, this is real. Somehow. Just remove any chances of this happening ever again. --- nixos/tests/misc.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/misc.nix b/nixos/tests/misc.nix index 9164f57eb74a..3e296d8d428c 100644 --- a/nixos/tests/misc.nix +++ b/nixos/tests/misc.nix @@ -73,7 +73,7 @@ in machine.succeed("[ `nixos-version | wc -w` = 2 ]") with subtest("nixos-rebuild"): - assert "NixOS module" in machine.succeed("nixos-rebuild --help") + assert "NixOS" in machine.succeed("nixos-rebuild --help") with subtest("Sanity check for uid/gid assignment"): assert "4" == machine.succeed("id -u messagebus").strip()