about summary refs log tree commit diff
path: root/tests/binary-cache.sh
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12 Fix test failure on DarwinEelco Dolstra1-0/+1
Apparently our DBD::SQLite links against /usr/lib/libsqlite3.dylib, which is an old version that doesn't respect foreign key constraints. So manifests/cache.sqlite doesn't get updated properly when a manifest disappears. We should fix our DBD::SQLite, but in the meantime this will fix the test. http://hydra.nixos.org/build/3017959
2012-07-30 Fix the testEelco Dolstra1-4/+4
2012-07-27 Allow a binary cache to declare that it doesn't support "nix-env -qas"Eelco Dolstra1-1/+14
Querying all substitutable paths via "nix-env -qas" is potentially hard on a server, since it involves sending thousands of HEAD requests. So a binary cache must now have a meta-info file named "nix-cache-info" that specifies whether the server wants this. It also specifies the store prefix so that we don't send useless queries to a binary cache for a different store prefix.
2012-07-27 Test "nix-env -qas" with the binary cache substituterEelco Dolstra1-1/+4
2012-07-26 Add a test for the binary cache substituterEelco Dolstra1-0/+19