aboutsummaryrefslogtreecommitdiff
path: root/tests/repair.sh
AgeCommit message (Collapse)Author
2022-01-11Make --repair-path also repair corrupt optimised linksGuillaume Maudoux
There already existed a smoke test for the link content length, but it appears that there exists some corruptions pernicious enough to replace the file content with zeros, and keeping the same length. --repair-path now goes as far as checking the content of the link, making it true to its name and actually repairing the path for such coruption cases.
2021-10-13Non-blocking garbage collectorEelco Dolstra
The garbage collector no longer blocks other processes from adding/building store paths or adding GC roots. To prevent the collector from deleting store paths just added by another process, processes need to connect to the garbage collector via a Unix domain socket to register new temporary roots.
2021-07-27Allow running all the tests with the daemonregnat
When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon. That way we can test every piece of Nix functionality both with and without the daemon. Tests for which using the daemon isn’t possible or doesn’t make sens can selectively be disabled with `needLocalStore`
2020-09-23Test whether build/repair results are read-onlyEelco Dolstra
2017-11-20Test: Replace --option with the corresponding flagEelco Dolstra
2017-11-20signed-binary-caches -> require-sigsEelco Dolstra
Unlike signed-binary-caches (which could only be '*' or ''), require-sigs is a proper Boolean option. The default is true.
2017-10-02Fix testsDan Peebles
`nix copy` no longer accepts a `--recursive` argument
2017-03-21Fix tests to reflect the signed-binary-caches default changeEelco Dolstra
2016-08-10Nuke nix-push.Shea Levy
Rarely used, nix copy replaces it.
2016-01-07Fix repair testEelco Dolstra
http://hydra.nixos.org/build/30001635
2014-02-17Test nix-store --verify-path and --repair-pathEelco Dolstra
2014-02-17Add a test for repairing pathsEelco Dolstra