aboutsummaryrefslogtreecommitdiff
path: root/tests/gc.sh
AgeCommit message (Collapse)Author
2023-06-14Split out `nix-collect-garbage -d` test to new fileJohn Ericson
Good for test parallelism, and separation of concerns (core GC vs profiles deleting).
2023-06-14Add another case to the `nix-collect-garbage -d` testJohn Ericson
2023-05-15test the garbage collection with the old profile dirThéophane Hufschmitt
Regression test for https://github.com/NixOS/nix/issues/8294
2023-03-07Fix `nix-collect-garbage -d` with the new profile locationThéophane Hufschmitt
Low-hanging fix for https://github.com/NixOS/nix/pull/5226#issuecomment-1454669399
2022-01-19Make `nix why-depends` quieter by defaultregnat
Unless `--precise` is passed, make `nix why-depends` only show the dependencies between the store paths, without introspecting them to find the actual references. This also makes it ~3x faster
2021-10-15Fix test against old daemonEelco Dolstra
2021-10-14pathInfoCache: Use the entire base name as the cache keyEelco Dolstra
This fixes a bug in the garbage collector where if a path /nix/store/abcd-foo is valid, but we do a isValidPath("/nix/store/abcd-foo.lock") first, then a negative entry for /nix/store/abcd is added to pathInfoCache, so /nix/store/abcd-foo is subsequently considered invalid and deleted.
2021-06-23Fix the CA gc testregnat
Broken by https://github.com/NixOS/nix/issues/4936
2019-03-10Update tests to the new --roots formatGuillaume Maudoux
2014-02-26Test nix-store -q --rootsEelco Dolstra
2011-10-10* Refactoring: remove unnecessary variables from the tests.Eelco Dolstra
2006-03-01* TDD! Woohoo!Eelco Dolstra
2006-03-01* Test the nix-store --gc subflags.Eelco Dolstra
2006-03-01* Add a test for nix-log2xml.Eelco Dolstra
2006-03-01* Simplification.Eelco Dolstra
2006-03-01* Make it easy to run individual tests from the command line.Eelco Dolstra
2005-02-09* Propagate the deriver of a path through the substitute mechanism.Eelco Dolstra
* Removed some dead code (successor stuff) from nix-push. * Updated terminology in the tests (store expr -> drv path). * Check that the deriver is set properly in the tests.
2005-02-01* Make check fixes.Eelco Dolstra
2005-01-27* Add missing substitutes files to dist.Eelco Dolstra
* Add a garbage collector test.