1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests
bruce oberg 3c16ac3646 home manager: add test for option subcommand
- added a test to the standalone-basics unit:  the option subcommand queries the `home.username` value and ensures that something sane is returned.

details:

- the option subcommand was broken by upstream changes to the `nixos-option` command.
- hm had no tests for the option subcommand, so the problem was discovered by users.
- output from nixos-option probably starts with 'Value:\n  "alice"', but we're only looking for 'alice' because the output format is not guaranteed.
2025-11-03 09:12:22 -06:00
..
integration home manager: add test for option subcommand 2025-11-03 09:12:22 -06:00
lib generators: rewrite toSCFG 2025-10-20 17:10:44 +02:00
modules tests: hostPlatform -> stdenv.hostPlatform 2025-11-03 07:59:03 -06:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix darwinScrublist: taskwarrior rename 2025-11-02 22:59:59 -06:00
default.nix tmpfiles: migrate to an RFC42-style option 2025-11-02 23:02:10 -06:00
flake.nix tests: rename test-all-* tests 2025-09-28 16:26:13 -05:00
package.nix tests: explicitly define NIX_CONFIG 2025-11-01 14:29:06 -05:00
stubs.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
tests.py tests: improve debugging for failed test runs 2025-09-28 16:28:05 -05:00