nix/tests
Jade Lovelace dea23c3c9b "but doctor, I AM the untrusted store": nix doctor had wrong trustedness
This probably snuck in in a refactor using truthiness or so. The
trustedness flag was having the optional fullness checked, rather than
the actual contained trust level.

Also adds some tests.

```
m1@6876551b-255d-4cb0-af02-8a4f17b27e2e ~ % nix store ping
warning: 'nix store ping' is a deprecated alias for 'nix store info'
Store URL: daemon
Version: 2.20.4
Trusted: 0
m1@6876551b-255d-4cb0-af02-8a4f17b27e2e ~ % nix doctor
warning: 'doctor' is a deprecated alias for 'config check'
[PASS] PATH contains only one nix version.
[PASS] All profiles are gcroots.
[PASS] Client protocol matches store protocol.
[INFO] You are trusted by store uri: daemon
```
2024-04-07 22:43:02 -07:00
..
functional "but doctor, I AM the untrusted store": nix doctor had wrong trustedness 2024-04-07 22:43:02 -07:00
installer updated store ping to store info in files 2023-10-18 00:14:11 +05:30
nixos Merge pull request #10340 from edolstra/trust-github 2024-04-02 16:08:57 +02:00
unit Fix some portability issues with the new C bindings 2024-04-05 00:54:47 -04:00