nixpkgs/lib/tests
Rebecca Turner fa9727cf1e
lib: modules.sh should check JSON output for predictability
Currently, the `lib/tests/modules.sh` test checks the output of
`nix-instantiate --eval` without `--json`, which outputs an unspecified
human-readable format.

This patch modifies `modules.sh` to use the `--json` output instead, to
be robust against future changes to `nix-instantiate` output.
2023-12-19 09:23:09 -08:00
..
modules lib: modules.sh should check JSON output for predictability 2023-12-19 09:23:09 -08:00
check-eval.nix
filesystem.sh lib.filesystem: Don't test Nix-specific error messages 2023-11-01 18:56:03 +01:00
maintainer-module.nix
maintainers.nix maintainers: clarify what fields are required 2023-01-27 18:05:28 +01:00
misc.nix lib.attrsets.hasAttrByPath: Document law and laziness, and test it 2023-12-08 23:19:09 +01:00
modules.sh lib: modules.sh should check JSON output for predictability 2023-12-19 09:23:09 -08:00
nix-for-tests.nix lib.tests: build nix without flaky aws-sdk-cpp 2023-11-18 20:19:10 -08:00
release.nix lib/tests/release.nix: temporary reference to pkgs/test/release 2023-12-15 05:13:50 -08:00
sources.sh lib/tests: Unify documentation of individual testable files 2023-07-18 17:22:45 +02:00
systems.nix lib.platforms.mips{,64}-embedded: init 2023-06-30 18:19:00 -07:00
teams.nix
test-to-plist-expected.plist lib.toPlist: keep test output in external files for their tab indents 2023-03-27 19:25:52 +02:00