Commit graph

5 commits

Author SHA1 Message Date
K900
a3612e2210 Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-28 11:42:18 +03:00
Sizhe Zhao
f34483be5e
nixosTests: handleTest -> runTest, batch 1
Reference: https://github.com/NixOS/nixpkgs/issues/386873
2025-05-26 20:40:17 +08:00
Morgan Jones
1b18ff3669
nixos/stage2-init: test nosuid and nodev mount options
We can make some evil files in the store within stage1,
and verify that they don't work.
2025-05-18 12:07:18 +02:00
Grimmauld
55f225049e
nixos/tests/boot-stage2: check mount options
The option `boot.nixStoreMountOpts` needs to be tested.
Trying to put a SUID/SGID file into the store will fail because of seccomp filters.
The best test we can do, without intentionally dropping the seccomp filter here,
is to just check `findmnt` and read the mount options in use.
2025-05-18 12:07:14 +02:00
Morgan Jones
189200a18d
nixos/tests: add boot-stage2 tests
- Test RO store mount even given the presence of filesystems with
  options ending in "ro"
- Test postBootCommands in stage2
2025-01-19 23:52:08 -08:00